-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
24 lines (22 loc) · 1.02 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
defined('TYPO3_MODE') || die('Access denied.');
call_user_func(
function () {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][\Dmind\BucketPagination\BucketPaginator::CACHE_IDENTIFIER] = [
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
'backend' => \TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend::class,
'options' => [
// cache the bucket by default for 1 week
'defaultLifetime' => 7 * 24 * 60 * 60,
]
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][\Dmind\BucketPagination\DataSourcePaginator::CACHE_IDENTIFIER] = [
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
'backend' => \TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend::class,
'options' => [
// cache the bucket by default for 1 week
'defaultLifetime' => 7 * 24 * 60 * 60,
]
];
}
);