Nofu/public/.htaccess

17 lines
479 B
ApacheConf
Raw Permalink Normal View History

2024-06-14 17:20:01 +02:00
# 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>