aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.htaccess8
1 files changed, 5 insertions, 3 deletions
diff --git a/build.htaccess b/build.htaccess
index e38f2bc..f939e0f 100644
--- a/build.htaccess
+++ b/build.htaccess
@@ -3,6 +3,8 @@ DirectoryIndex index.html
# Show a known page in case of as miss
ErrorDocument 404 /404.html
-# Allow Caches & Proxies to Cache all resources
-ExpiresActive On
-ExpiresDefault "access plus 4 hours"
+<IfModule expires.c>
+ # Allow Caches & Proxies to Cache all resources
+ ExpiresActive On
+ ExpiresDefault "access plus 4 hours"
+</IfModule>