diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-03-10 19:15:17 +0000 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-03-10 19:15:17 +0000 |
commit | 820287be1769b442f101a712a0f008b739f50699 (patch) | |
tree | b8e8311257051ae4ddedbce3c755bc59bfb77c33 /web/nms.gathering.org/api/public/ping | |
parent | b8314f8319f00c9bb507d67f11ab8e75d1ca659f (diff) |
NMS: Tweak caching and updates
Diffstat (limited to 'web/nms.gathering.org/api/public/ping')
-rwxr-xr-x | web/nms.gathering.org/api/public/ping | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/nms.gathering.org/api/public/ping b/web/nms.gathering.org/api/public/ping index f713df1..f13a03b 100755 --- a/web/nms.gathering.org/api/public/ping +++ b/web/nms.gathering.org/api/public/ping @@ -22,4 +22,6 @@ while (my $ref = $lq->fetchrow_hashref()) { $q->execute(); +$nms::web::cc{'max-age'} = "1"; +$nms::web::cc{'stale-while-revalidate'} = "5"; finalize_output(); |