From dccdb5cf0f567979fda24acf2c34a0f6834c612d Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 28 Sep 2013 16:56:42 -0700 Subject: [PATCH] finally figure out gzip for extensionless blog posts --- public/.htaccess | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index f9d6e53..6552181 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,16 +1,17 @@ DefaultType text/html AddType audio/mp4 m4r AddType application/rss+xml rss -AddOutputFilterByType DEFLATE text/plain application/rss+xml text/css application/javascript text/html +SetOutputFilter DEFLATE # Turn on Expires and set default expires to 3 days ExpiresActive On -# ExpiresDefault A259200 +ExpiresDefault A259200 # Set up caching on media files for 1 month - + ExpiresDefault A2419200 Header append Cache-Control "public" + SetOutputFilter NONE # Set up 2 week caching on commonly updated files