Nofu/public/.htaccess

17 lines
No EOL
479 B
ApacheConf

# 480 weeks
<FilesMatch "\.(html|ico|jpg|jpeg|png|gif|js|css)$">
# 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 \.(html?|txt|css|js|php)$
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>