特定页面的 TYPO3 nocache
TYPO3 nocache for an specific page
我有一个带有自编码插件的大 TYPO3 页面。现在我希望不缓存在此扩展中完成的所有内容。
例如,所有输入都被缓存,当我重新加载页面时,所有字段都被预填充
我能做什么?
如果是你写的extbase扩展ext_tables.php
<?php
defined('TYPO3_MODE') or die();
// Plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Vendor.' . $_EXTKEY,
'Pluginname',
array(
'Plugin' => 'controller1',
),
// non-cacheable actions
array(
'Plugin' => 'controller1',
)
);
或在页面 > 设置 > 行为 > 缓存 > 禁用中禁用缓存
我有一个带有自编码插件的大 TYPO3 页面。现在我希望不缓存在此扩展中完成的所有内容。
例如,所有输入都被缓存,当我重新加载页面时,所有字段都被预填充
我能做什么?
如果是你写的extbase扩展ext_tables.php
<?php
defined('TYPO3_MODE') or die();
// Plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Vendor.' . $_EXTKEY,
'Pluginname',
array(
'Plugin' => 'controller1',
),
// non-cacheable actions
array(
'Plugin' => 'controller1',
)
);
或在页面 > 设置 > 行为 > 缓存 > 禁用中禁用缓存