diff --git a/content/extra/htaccess b/content/extra/htaccess index 01b13cd..37add96 100644 --- a/content/extra/htaccess +++ b/content/extra/htaccess @@ -15,8 +15,15 @@ RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] -# Disable directory listing -Options -Indexes + +# Cache static static resources 1 day + + Header set Cache-Control "max-age=86400" + # Set HSTS headers to enforce TLS Header set Strict-Transport-Security "max-age=31536000; preload" env=HTTPS + + +# Disable directory listing +Options -Indexes