From 820287be1769b442f101a712a0f008b739f50699 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 10 Mar 2016 19:15:17 +0000 Subject: NMS: Tweak caching and updates --- web/nms.gathering.org/api/public/ping | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/nms.gathering.org/api/public/ping') 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(); -- cgit v1.2.3