‪TYPO3CMS  ‪main
DatabaseCachePreset.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
20 
22 {
26  protected ‪$name = 'Database';
27 
31  protected ‪$priority = 60;
32 
36  protected ‪$configurationValues = [
37  'SYS/caching/cacheConfigurations/hash/backend' => Typo3DatabaseBackend::class,
38  'SYS/caching/cacheConfigurations/pages/backend' => Typo3DatabaseBackend::class,
39  'SYS/caching/cacheConfigurations/pages/options/compression' => true,
40  'SYS/caching/cacheConfigurations/rootline/backend' => Typo3DatabaseBackend::class,
41  'SYS/caching/cacheConfigurations/rootline/options/compression' => true,
42  ];
43 
49  public function ‪isAvailable()
50  {
51  return true;
52  }
53 }
‪TYPO3\CMS\Install\Configuration\AbstractPreset
Definition: AbstractPreset.php:27
‪TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset\$priority
‪int $priority
Definition: DatabaseCachePreset.php:29
‪TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend
Definition: Typo3DatabaseBackend.php:30
‪TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset\$name
‪string $name
Definition: DatabaseCachePreset.php:25
‪TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset
Definition: DatabaseCachePreset.php:22
‪TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset\$configurationValues
‪array $configurationValues
Definition: DatabaseCachePreset.php:33
‪TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset\isAvailable
‪bool isAvailable()
Definition: DatabaseCachePreset.php:46
‪TYPO3\CMS\Install\Configuration\Cache
Definition: CacheFeature.php:16