Add dedicated page types for exports to avoid caching issues

This commit is contained in:
Björn Fromme
2018-06-27 12:55:01 +02:00
parent fa37142f32
commit 264d14f5f3
6 changed files with 49 additions and 3 deletions
@@ -0,0 +1,31 @@
xmlExport = PAGE
xmlExport {
typeNum = 1972
config {
xhtml_cleaning = none
no_cache = 1
disableAllHeaderCode = 1
additionalHeaders = Content-Type: text/xml; charset=utf-8
simulateStaticDocuments = 0
admPanel = 0
debug = 0
tx_realurl_enable = 1
}
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpProducts
pluginName = reseller
vendorName = EP
switchableControllerActions {
Reseller {
1 = xml
}
}
}
}
excelExport < xmlExport
excelExport.typeNum = 1984
excelExport.config.additionalHeaders = Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
excelExport.10.switchableControllerActions.Reseller.1 = excel
@@ -94,6 +94,7 @@ lib.stdheader.3.headerClass >
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Main.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Ajax.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/XMLSitemap.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Export.ts">
config {
doctype = html5