summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/apache/httpd.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf
index 38110cc..9f79d0d 100644
--- a/etc/apache/httpd.conf
+++ b/etc/apache/httpd.conf
@@ -51,11 +51,18 @@ LoadModule status_module modules/mod_status.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule http2_module modules/mod_http2.so
+LoadModule headers_module modules/mod_headers.so
+LoadModule expires_module modules/mod_expires.so
CacheRoot "/var/cache/apache2/"
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 1
+CacheMinExpire 60
+ExpiresActive on
+ExpiresByType image/png A86400
+ExpiresByType text/css A86400
+ExpiresByType application/x-javascript A86400
<Directory />
Options FollowSymLinks Indexes ExecCGI