Issue Bug Closed

#65149 Invalid cache backend option "compression" for backend of type \TYPO3\CMS\Core\Cache\Backend\FileBackend

Joerg Boesche 02/18/15, 17:40 updated 10/02/18, 11:47

Description

If I change the caching mechanism in the LocalConfiguration.php, I’m getting the following exception.

LocalConfiguration.php,

'SYS' => array(
        'caching' => array(
            'cacheConfigurations' => array(
                               'cache_pages' => array(
                    'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\FileBackend',
                    'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
                    'options' => array(
                    ),
                ),
                ),
            ),
 #1231267498: Invalid cache backend option "compression" for backend of type \TYPO3\CMS\Core\Cache\Backend\FileBackend

I think there has to be patched the \TYPO3\CMS\Core\Cache\Backend\AbstractBackend class with an additional method “setCompression()”.
Most of the CacheBackends are extending the AbstractBackend.

In an old “Bug #49585: https://forge.typo3.org/issues/49585” the NullBackend was fixed.

Can you fix it for all the CacheBackends please?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.