diff --git a/.htaccess b/.htaccess index cb7c4de..da9df98 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,18 @@ AddType application/rss+xml rss +AddOutputFilterByType DEFLATE application/rss+xml text/css application/javascript text/html + +# 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" +