Try to avoid browser caching of ajax requests

This commit is contained in:
Björn Fromme
2019-07-10 10:58:42 +02:00
parent c73e34bf77
commit efd48aa0bb
2 changed files with 2 additions and 0 deletions
@@ -3,6 +3,7 @@ ajax_page_json {
typeNum = 1703
config {
disableAllHeaderCode = 1
additionalHeaders.1.header = Cache-Control: no-cache, no-store, must-revalidate
additionalHeaders.10.header = Content-type:application/json
xhtml_cleaning = 0
admPanel = 0
@@ -84,6 +84,7 @@ tx_epproducts_ajax_json {
config {
disableAllHeaderCode = 1
disablePrefixComment = 1
additionalHeaders.1.header = Cache-Control: no-cache, no-store, must-revalidate
additionalHeaders.10.header = Content-type: application/json
additionalHeaders.20.header = X-Robots-Tag: noindex, nofollow, noarchive
xhtml_cleaning = 0