summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2019-09-18 21:09:15 +0000
committerTed Trask <ttrask01@yahoo.com>2019-09-18 21:09:15 +0000
commita222345ff5e432ff946bf5a62cdce5290fa56445 (patch)
tree04015a2b66aee473bb1c1694da723d6c34bd4ef8
parent09caf186523c08296ac47fec6fcc9ea97c30ce9b (diff)
downloadacf-core-a222345ff5e432ff946bf5a62cdce5290fa56445.tar.bz2
acf-core-a222345ff5e432ff946bf5a62cdce5290fa56445.tar.xz
Disable cache in json template
-rw-r--r--app/template-json.lsp3
1 files changed, 3 insertions, 0 deletions
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) %>