aboutsummaryrefslogtreecommitdiffstats
path: root/extras/misc/varnish.vcl
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-11-09 12:29:41 +0100
committerKristian Lyngstol <kristian@bohemians.org>2016-11-09 12:29:41 +0100
commit4cfb0fc9c3caf555285452ac1d8f5c6751364d33 (patch)
treef7c585d4df5a9e76242acae4649c0b7e5ac99fda /extras/misc/varnish.vcl
parent6cdda4fac97792256d170f6396e333c43f7c9fd7 (diff)
Force graph reloading ... sigh...
There really should be a way to make it obey cache-control instead of this rubbish.
Diffstat (limited to 'extras/misc/varnish.vcl')
-rw-r--r--extras/misc/varnish.vcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/misc/varnish.vcl b/extras/misc/varnish.vcl
index 02562ec..fe8e675 100644
--- a/extras/misc/varnish.vcl
+++ b/extras/misc/varnish.vcl
@@ -69,7 +69,7 @@ sub vcl_backend_response {
if (bereq.url ~ "/render") {
# Graphite claims "no-cache", which is dumb.
# Let's blindly cache for 5+10s. Which is 10000 times better.
- set beresp.http.Cache-Control = "max-age=5s";
+ set beresp.http.Cache-Control = "max-age=5";
unset beresp.http.Pragma;
set beresp.uncacheable = false;
set beresp.grace = 10s;