From 5950d8495124990b110da763642e389d8e47f2d6 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 17 May 2021 15:43:36 -0400 Subject: [PATCH] Match Apache test conf to live conf --- config/apache/standardebooks.test.conf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 46c77da4..4c86eca7 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -16,16 +16,16 @@ Protocols h2 h2c http/1.1 # Set up caching directives for infrequently changed files ExpiresActive on -ExpiresByType application/javascript "access plus 1 month" -ExpiresByType font/woff2 "access plus 1 month" -ExpiresByType image/avif "access plus 1 month" -ExpiresByType image/gif "access plus 1 month" -ExpiresByType image/jpeg "access plus 1 month" -ExpiresByType image/png "access plus 1 month" -ExpiresByType image/svg+xml "access plus 1 month" -ExpiresByType image/vnd.microsoft.icon "access plus 1 month" -ExpiresByType image/x-icon "access plus 1 month" -ExpiresByType text/css "access plus 1 month" +ExpiresByType application/javascript "access plus 6 months" +ExpiresByType font/woff2 "access plus 6 months" +ExpiresByType image/avif "access plus 6 months" +ExpiresByType image/gif "access plus 6 months" +ExpiresByType image/jpeg "access plus 6 months" +ExpiresByType image/png "access plus 6 months" +ExpiresByType image/svg+xml "access plus 6 months" +ExpiresByType image/vnd.microsoft.icon "access plus 6 months" +ExpiresByType image/x-icon "access plus 6 months" +ExpiresByType text/css "access plus 6 months" # These lines are a workaround for an Apache bug that prevents mod_deflate, etags, and ExpiresByType working at the same time. # This is probably still broken in 18.04. See https://stackoverflow.com/questions/896974/apache-is-not-sending-304-response-if-mod-deflate-and-addoutputfilterbytype-is