graphs caching: 1h max
This commit is contained in:
parent
4ccfff09d7
commit
0b81d0f736
2
graph
2
graph
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user