summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source/.htaccess
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-09-20 09:35:40 +0000
committerctrlaltca@gmail.com <>2011-09-20 09:35:40 +0000
commit8dcab11beafb1a04b514a3beacc6113f29450d3c (patch)
tree408a41fdf9e54dd0075759c67843a0c7ffc103b4 /framework/Web/Javascripts/source/.htaccess
parent026421ecddb050a7156b228c329e13de5f0f160d (diff)
patch for #363: dropping clientscripts.php
Diffstat (limited to 'framework/Web/Javascripts/source/.htaccess')
-rw-r--r--framework/Web/Javascripts/source/.htaccess16
1 files changed, 16 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/.htaccess b/framework/Web/Javascripts/source/.htaccess
new file mode 100644
index 00000000..9ec96342
--- /dev/null
+++ b/framework/Web/Javascripts/source/.htaccess
@@ -0,0 +1,16 @@
+<ifModule mod_gzip.c>
+ mod_gzip_on Yes
+ mod_gzip_dechunk Yes
+ mod_gzip_item_include file \.js$
+ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
+</ifModule>
+
+<ifModule mod_expires.c>
+ ExpiresActive On
+ ExpiresDefault "access plus 864000 seconds"
+</ifModule>
+
+<ifModule mod_headers.c>
+ Header set Cache-Control "max-age=864000, private"
+</ifModule>
+