‪TYPO3CMS  11.5
FileCachePreset.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 
21 
23 {
27  protected ‪$name = 'File';
28 
32  protected ‪$priority = 50;
33 
37  protected ‪$configurationValues = [
38  'SYS/caching/cacheConfigurations/hash/backend' => FileBackend::class,
39  'SYS/caching/cacheConfigurations/pages/backend' => FileBackend::class,
40  'SYS/caching/cacheConfigurations/pages/options/compression' => '__UNSET',
41  'SYS/caching/cacheConfigurations/pagesection/backend' => FileBackend::class,
42  'SYS/caching/cacheConfigurations/pagesection/options/compression' => '__UNSET',
43  'SYS/caching/cacheConfigurations/imagesizes/backend' => SimpleFileBackend::class,
44  'SYS/caching/cacheConfigurations/imagesizes/options/compression' => '__UNSET',
45  'SYS/caching/cacheConfigurations/rootline/backend' => FileBackend::class,
46  'SYS/caching/cacheConfigurations/rootline/options/compression' => '__UNSET',
47  ];
48 
54  public function ‪isAvailable()
55  {
56  return true;
57  }
58 }
‪TYPO3\CMS\Install\Configuration\AbstractPreset
Definition: AbstractPreset.php:27
‪TYPO3\CMS\Install\Configuration\Cache\FileCachePreset\$name
‪string $name
Definition: FileCachePreset.php:26
‪TYPO3\CMS\Install\Configuration\Cache\FileCachePreset\isAvailable
‪bool isAvailable()
Definition: FileCachePreset.php:51
‪TYPO3\CMS\Install\Configuration\Cache\FileCachePreset
Definition: FileCachePreset.php:23
‪TYPO3\CMS\Core\Cache\Backend\FileBackend
Definition: FileBackend.php:30
‪TYPO3\CMS\Install\Configuration\Cache\FileCachePreset\$priority
‪int $priority
Definition: FileCachePreset.php:30
‪TYPO3\CMS\Install\Configuration\Cache\FileCachePreset\$configurationValues
‪array $configurationValues
Definition: FileCachePreset.php:34
‪TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend
Definition: SimpleFileBackend.php:33
‪TYPO3\CMS\Install\Configuration\Cache
Definition: CacheFeature.php:16