summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-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>