summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-01 15:59:14 +0100
committeremkael <emkael@tlen.pl>2016-03-01 15:59:14 +0100
commit03c1aa1f0ff39c31a64d0d581330f77bf5aa74d1 (patch)
tree0e7b490b0fd54670b22a1d1f16481f06eaa8b0ec
parentcce65143b63b3c1c5ab1e7407ceeb15fba96e6ee (diff)
* browser cache settings
-rw-r--r--http/.htaccess5
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>