make apache cache-control/expires settings only apply to static files; shimmie will take care of the web pages
This commit is contained in:
parent
082730f29a
commit
9b93df4e22
1 changed files with 6 additions and 3 deletions
|
@ -30,9 +30,12 @@ DefaultType image/jpeg
|
|||
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresDefault "access plus 1 month"
|
||||
ExpiresByType text/html "now"
|
||||
ExpiresByType text/plain "now"
|
||||
<FilesMatch "([0-9a-f]{32}|\.(gif|jpe?g|png|css|js))$">
|
||||
Header set Cache-Control "public, max-age=2629743"
|
||||
ExpiresDefault "access plus 1 month"
|
||||
</FilesMatch>
|
||||
#ExpiresByType text/html "now"
|
||||
#ExpiresByType text/plain "now"
|
||||
</IfModule>
|
||||
|
||||
<ifmodule mod_deflate.c>
|
||||
|
|
Reference in a new issue