[TYPO3-dev] Re: cHash Problem of a beginner

Florian Rival florian.typo3 at oktopuce.fr
Mon Apr 10 18:21:56 CEST 2017


Hi Sylvia,

If you want to disable the cache for an action, you have to specify it in the ext_localconf.php file :

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
    'Vendor.' . $_EXTKEY,
    'Myext',
    array(
        'MyController' => 'displayForm, validateForm',
    ),
    // non-cacheable actions
    array(
        'MyController' => 'displayForm, validateForm'',
   )
);

Your actions should be duplicated in the second array "non-cacheable actions".
There should be one action to create the form an another to validate the form.

Regards,
Florian
-- 
-- Florian Rival --
www.oktopuce.fr



More information about the TYPO3-dev mailing list