make apache cache-control/expires settings only apply to static files; shimmie will take care of the web pages

This commit is contained in:
Shish 2011-12-27 18:08:49 +00:00
parent 082730f29a
commit 9b93df4e22

View file

@ -30,9 +30,12 @@ DefaultType image/jpeg
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch "([0-9a-f]{32}|\.(gif|jpe?g|png|css|js))$">
Header set Cache-Control "public, max-age=2629743"
ExpiresDefault "access plus 1 month"
ExpiresByType text/html "now"
ExpiresByType text/plain "now"
</FilesMatch>
#ExpiresByType text/html "now"
#ExpiresByType text/plain "now"
</IfModule>
<ifmodule mod_deflate.c>