diff options
Diffstat (limited to 'sounds/.htaccess')
-rw-r--r-- | sounds/.htaccess | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sounds/.htaccess b/sounds/.htaccess new file mode 100644 index 0000000..657e345 --- /dev/null +++ b/sounds/.htaccess @@ -0,0 +1,15 @@ +# 480 weeks
+<FilesMatch "\.(mp3|flv|jpg|jpeg|png|gif|js|swf)$">
+Header set Cache-Control "max-age=290304000, public"
+</FilesMatch>
+
+<ifModule mod_gzip.c>
+ mod_gzip_on Yes
+ mod_gzip_dechunk Yes
+ mod_gzip_item_include file \.(swf|txt|css|js)$
+ mod_gzip_item_include handler ^cgi-script$
+ mod_gzip_item_include mime ^text/.*
+ mod_gzip_item_include mime ^application/x-javascript.*
+ mod_gzip_item_exclude mime ^image/.*
+ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
+</ifModule>
\ No newline at end of file |