diff options
-rw-r--r-- | http/.htaccess | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/http/.htaccess b/http/.htaccess index 4e671f3..bee3a09 100644 --- a/http/.htaccess +++ b/http/.htaccess @@ -12,7 +12,8 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1/ [L] ExpiresActive On -ExpiresDefault "access plus 10 minutes" -<FilesMatch "\.(jpe?g|png|gif|js|css)$"> - ExpiresDefault "access plus 2 hours" +ExpiresDefault "access plus 2 hours" +<FilesMatch ".+?\.(?!(jpe?g|png|gif|js|css)$).+"> + Header unset Last-Modified + Header set Cache-Control "private, max-age=0, no-cache" </FilesMatch> |