graphs caching: 1h max

This commit is contained in:
Vincent Riquer 2014-06-01 16:46:48 +02:00
parent 4ccfff09d7
commit 0b81d0f736

2
graph
View File

@ -125,7 +125,7 @@ else
cat <<-EOHEAD
content-type: image/png
Last-Modified: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z')
Expires: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z' -d '10 minutes')
Expires: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z' -d '1 hour')
Cache-Control: max-age=0, must-revalidate
EOHEAD