Experimental: Enable caching of some ajax requests

This commit is contained in:
Björn Fromme
2021-08-19 11:59:06 +02:00
parent 956b3575cb
commit 7f5f48921d
2 changed files with 5 additions and 4 deletions
@@ -130,16 +130,17 @@ tx_epproducts_ajax_json {
config {
disableAllHeaderCode = 1
disablePrefixComment = 1
additionalHeaders.1.header = Cache-Control: no-cache, no-store, must-revalidate
#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
admPanel = 0
debug = 0
no_cache = 1
#no_cache = 1
}
10 = USER_INT
#10 = USER_INT
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpProducts
@@ -383,7 +383,7 @@ $iconRegistry->registerIcon(
'AjaxDate' => 'dates',
'AjaxSearchbar' => 'update',
'AjaxContingent' => 'list,rooms',
'AjaxTable' => 'datestable,pricetable,pricetableHtml,eventPricetable',
// 'AjaxTable' => 'datestable,pricetable,pricetableHtml,eventPricetable',
'AjaxCalendar' => 'range,contingents,availableRooms',
'AjaxWatchlist' => 'list',
'AjaxGroupsPrice' => 'processForm',