summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2020-05-17 17:58:36 +0200
committeruvok cheetah2020-05-17 17:58:36 +0200
commite9700a6bfc17e94d131c11c8c980202d739d73f8 (patch)
treef55946f55d6d0cabd0b378bd0b335987643a3a33
parent98734e657e957e6fbc266445619b47ffb2c22f32 (diff)
Change caching for html to none (?)
-rw-r--r--.htaccess8
1 files changed, 5 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 067bd24..2eac1cb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,5 @@
-<filesMatch "index.html$">
-Header set Cache-Control "max-age=86400, public"
-</filesMatch>
+<IfModule mod_expires.c>
+ExpiresActive on
+ExpiresDefault "access plus 1 week"
+ExpiresByType text/html "access plus 0 seconds"
+</IfModule>