diff options
author | Ted Trask <ttrask01@yahoo.com> | 2019-09-18 21:09:15 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2019-09-18 21:09:15 +0000 |
commit | a222345ff5e432ff946bf5a62cdce5290fa56445 (patch) | |
tree | 04015a2b66aee473bb1c1694da723d6c34bd4ef8 | |
parent | 09caf186523c08296ac47fec6fcc9ea97c30ce9b (diff) | |
download | acf-core-a222345ff5e432ff946bf5a62cdce5290fa56445.tar.bz2 acf-core-a222345ff5e432ff946bf5a62cdce5290fa56445.tar.xz |
Disable cache in json template
-rw-r--r-- | app/template-json.lsp | 3 |
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) %> |