From e3244501e89df95c6cb3ad2b9efc7e708ec9b1bb Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 16 Mar 2016 19:55:11 +0000 Subject: NMS: Fix production-grade cache :D Seems to work fine, both with caching and cache invalidation. (e.g.: moving a switch, adding ac omment). Might have missed something, of course. --- web/nms.gathering.org/api/private/comment-add | 1 + 1 file changed, 1 insertion(+) (limited to 'web/nms.gathering.org/api/private/comment-add') diff --git a/web/nms.gathering.org/api/private/comment-add b/web/nms.gathering.org/api/private/comment-add index 2f8b0b7..26ff734 100755 --- a/web/nms.gathering.org/api/private/comment-add +++ b/web/nms.gathering.org/api/private/comment-add @@ -20,4 +20,5 @@ $nms::web::cc{'max-age'} = '0'; $nms::web::cc{'stale-while-revalidate'} = '0'; $nms::web::json{'state'} = 'ok'; +print "X-ban: /api/private/comments\n"; finalize_output(); -- cgit v1.2.3