summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-05-27 20:45:52 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2019-05-27 20:45:52 +0000
commit71d56931d705e26a565a379509917f50bc4742d6 (patch)
tree7ffddcfa2fc3c3f677f1aa0817b3a9cc58358060
parent987403749d9bdc0a33615310f6e09c89bd03b535 (diff)
build: fix Cache-Control headerHEADmaster
The syntax for this header uses commas, not semicolons, so switch the syntax. In addition, ask the client to limit the time that they cache a response to ten minutes. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
-rw-r--r--build/apache.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apache.conf b/build/apache.conf
index b661eaa..d2977ce 100644
--- a/build/apache.conf
+++ b/build/apache.conf
@@ -11,7 +11,7 @@ Listen ${PORT}
AddType application/xhtml+xml .xhtml
- Header append Cache-Control "public; s-maxage=86400" "expr=%{REQUEST_STATUS} == 200"
+ Header append Cache-Control "public, maxage=600, s-maxage=86400"
ErrorDocument 404 /404.xhtml