diff --git a/public/.htaccess b/public/.htaccess index 22644ad..a3debd4 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -3,23 +3,18 @@ AddType audio/mp4 m4r AddType application/rss+xml rss AddOutputFilterByType DEFLATE application/rss+xml text/css application/javascript text/html -#RewriteEngine on - -#RewriteCond %{REQUEST_URI} ^.*\.html$ -#RewriteRule ^(.*)\.html$ /$1 [R=301,L,NS] - -# # Turn on Expires and set default expires to 3 days -# ExpiresActive On +# Turn on Expires and set default expires to 3 days +ExpiresActive On # ExpiresDefault A259200 -# -# # Set up caching on media files for 1 month -# -# ExpiresDefault A2419200 -# Header append Cache-Control "public" -# -# -# # Set up 2 week caching on commonly updated files -# -# ExpiresDefault A1209600 -# Header append Cache-Control "private, must-revalidate" -# + +# Set up caching on media files for 1 month + + ExpiresDefault A2419200 + Header append Cache-Control "public" + + +# Set up 2 week caching on commonly updated files + + ExpiresDefault A1209600 + Header append Cache-Control "private, must-revalidate" +