, (*1)
TYPO3 Software Cache
TL;DR
Software based library to cache TYPO3 Requests., (*2)
Ansprechpartner
Entwickler:
* [Stephan Lindner]
* [Ralf Michael], (*3)
Konzept
to be done, (*4)
Installation
For easy installation add an index.php.dist file to your project and add the following commands to your composer.json, (*5)
"chmod 654 ./vendor/queo/typo3-software-cache/src/Scripts/installCache.sh",
"./vendor/queo/typo3-software-cache/src/Scripts/installCache.sh index.php.dist",
We added an starting point with a simple index.php.dist in the base folder, you can use for your first steps or easy websites. It will cache the requests in the filesystem., (*6)
QualitÀtssicherung
Unittests
bin/phpunit
Codemetriken erstellen
Phpmetrics global installieren, (*7)
composer global require phpmetrics/phpmetrics:~2
Bericht fĂŒr Metriken erzeugen, (*8)
phpmetrics --report-html=build/metric --git --quiet src\
Weiterentwicklung
Goldene Regeln:
- SOLID Prinzipien einhalten!
- Metriken beachten, (*9)
Anleitung
Cache ĂŒber Typo3-Backend leeren
Um den Cache ĂŒber das Typo3-Backend leeren zu können, muss in der ext_localconf der Site-Extension folgender Hook ergĂ€nzt werden:, (*10)
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][] = \Queo\Typo3\SoftwareCache\Service\CacheManagementService::class . '->clearCache';
FAQ
42, (*11)