summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source/.htaccess
diff options
context:
space:
mode:
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>
+