From a222345ff5e432ff946bf5a62cdce5290fa56445 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 18 Sep 2019 21:09:15 +0000 Subject: Disable cache in json template --- app/template-json.lsp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/template-json.lsp b/app/template-json.lsp index 03dd5bf..df7343e 100644 --- a/app/template-json.lsp +++ b/app/template-json.lsp @@ -1,5 +1,8 @@ <% local view, viewlibrary, page_info, session = ... %> Status: 200 OK +CacheControl: no-store +Pragma: no-cache +Expires: -1 Content-Type: "application/json" <% io.write("\n") %> <% page_info.viewfunc(view, viewlibrary, page_info, session) %> -- cgit v1.2.3