summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-12-31 20:17:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-12-31 20:17:18 +0000
commit570ed4f9417bfde2e91195eda0c61c35d68d4c10 (patch)
tree3cfdbb54b74e0e5bdcd6d00129b2e0e7b0bb264f
parentAdd Nagios check for autofs (diff)
downloadconfig-570ed4f9417bfde2e91195eda0c61c35d68d4c10.tar.bz2
config-570ed4f9417bfde2e91195eda0c61c35d68d4c10.tar.xz
config-570ed4f9417bfde2e91195eda0c61c35d68d4c10.zip
Increase cache expiry time for assets
-rw-r--r--etc/apache/httpd.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf
index 6ef8494..34333a5 100644
--- a/etc/apache/httpd.conf
+++ b/etc/apache/httpd.conf
@@ -68,9 +68,10 @@ CacheDirLevels 2
CacheDirLength 1
CacheMinExpire 60
ExpiresActive on
-ExpiresByType image/png A86400
-ExpiresByType text/css A86400
-ExpiresByType application/x-javascript A86400
+ExpiresByType image/png A864000
+ExpiresByType text/css A864000
+ExpiresByType application/x-javascript A864000
+ExpiresByType text/javascript A864000
RemoteIPProxyProtocol On
<Directory />