diff options
author | emkael <emkael@tlen.pl> | 2016-03-01 15:59:14 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-01 15:59:14 +0100 |
commit | 03c1aa1f0ff39c31a64d0d581330f77bf5aa74d1 (patch) | |
tree | 0e7b490b0fd54670b22a1d1f16481f06eaa8b0ec /http | |
parent | cce65143b63b3c1c5ab1e7407ceeb15fba96e6ee (diff) |
* browser cache settings
Diffstat (limited to 'http')
-rw-r--r-- | http/.htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/http/.htaccess b/http/.htaccess index 77ee952..e4c4192 100644 --- a/http/.htaccess +++ b/http/.htaccess @@ -8,3 +8,8 @@ RewriteCond %{REQUEST_FILENAME} !-f 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" +</FilesMatch> |