Last-Modified: use ingress last update time
This commit is contained in:
parent
dca11a4019
commit
0d4770e290
5
graph
5
graph
@ -247,7 +247,10 @@ else
|
|||||||
now=$(date +%s)
|
now=$(date +%s)
|
||||||
cat <<-EOHEAD
|
cat <<-EOHEAD
|
||||||
content-type: image/png
|
content-type: image/png
|
||||||
Last-Modified: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z')
|
Last-Modified: $(
|
||||||
|
LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z' \
|
||||||
|
-d @$(rrdtool last ingress.rrd)
|
||||||
|
)
|
||||||
Expires: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z' -d '1 hour')
|
Expires: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z' -d '1 hour')
|
||||||
Cache-Control: max-age=0, must-revalidate
|
Cache-Control: max-age=0, must-revalidate
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user