queo / typo3-software-cache
Software cache for typo3 projects.
Installs: 1 324
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- beberlei/assert: ^2.7
- psr/log: ~1.0.0
- symfony/cache: ^3.4
- symfony/http-foundation: ^3.2
Requires (Dev)
- phpmetrics/phpmetrics: ~2
- phpunit/phpunit: 5.7.*
This package is auto-updated.
Last update: 2025-03-29 00:39:39 UTC
README
TYPO3 Software Cache
TL;DR Software based library to cache TYPO3 Requests.
Allgemeine Informationen
Ansprechpartner
Entwickler:
- [Stephan Lindner]
- [Ralf Michael]
Konzept
to be done
Installation
For easy installation add an index.php.dist file to your project and add the following commands to your composer.json
"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.
Qualitätssicherung
Unittests
bin/phpunit
Codemetriken erstellen
Phpmetrics global installieren
composer global require phpmetrics/phpmetrics:~2
Bericht für Metriken erzeugen
phpmetrics --report-html=build/metric --git --quiet src\
Weiterentwicklung
Goldene Regeln:
- SOLID Prinzipien einhalten!
- Metriken beachten
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:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][] = \Queo\Typo3\SoftwareCache\Service\CacheManagementService::class . '->clearCache';
FAQ
42