[TASK] Set Fluid cache backend to SimpleFileBackend 97/52597/4
authorClaus Due <claus@namelesscoder.net>
Tue, 25 Apr 2017 09:52:15 +0000 (11:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 26 Apr 2017 21:01:32 +0000 (23:01 +0200)
A significant performance increase can be achieved
by switching to this backend because FileBackend
will do excessive calls to file_get_contents.

Affects every currently supported TYPO3 version.

Change-Id: I231c5b2ff7be3eecc8a4138cbd05af494d228297
Resolves: #81006
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52597
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Configuration/DefaultConfiguration.php

index f21ec02..d27278e 100644 (file)
@@ -185,7 +185,7 @@ return [
                     'groups' => ['system']
                 ],
                 'fluid_template' => [
-                    'backend' => \TYPO3\CMS\Core\Cache\Backend\FileBackend::class,
+                    'backend' => \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::class,
                     'frontend' => \TYPO3\CMS\Fluid\Core\Cache\FluidTemplateCache::class,
                     'groups' => ['system'],
                 ],