Download the PHP package b13/graceful-cache without Composer
On this page you can find all versions of the php package b13/graceful-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download b13/graceful-cache
More information about b13/graceful-cache
Files in b13/graceful-cache
Package graceful-cache
Short Description TYPO3 cache backends which do not always have to be enabled
License GPL-2.0-or-later
Informations about the package graceful-cache
TYPO3 Extension with Graceful Cache Backends
We don't want our websites to be down because the cache backend used, e.g. "redis" or "memcached" has a temporary issue. Instead, the page should be loaded, but trigger warnings and errors and such, but still render a page without active caches.
For this reason, we provide Cache Backends which simply catch all Exceptions.
We use this for High Availability projects, where a Redis sentinel cluster is not available but a Redis service is running on each application server to ensure that TYPO3 does never throw a 50x HTTP error because of a caching issue.
Installation
When running TYPO3 in Composer Mode composer req b13/graceful-cache
or
download the extension "graceful_cache" via the Extension Manager
from extensions.typo3.org.
Configuration
Use this in your LocalConfiguration.php or AdditionalConfiguration.php to e.g. reconfigure the "pages" Cache (or "cache_pages" prior to TYPO3 v10) to run with the graceful Redis Cache Backend:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['pages']['backend'] = \B13\GracefulCache\Backend\RedisCacheBackend::class;
Or configure with Memcached Cache Backend:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['pages']['backend'] = \B13\GracefulCache\Backend\MemcachedCacheBackend::class;
License
The extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.
Credits
This extension was created by Benni Mack in 2020 for b13 GmbH.
Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.
All versions of graceful-cache with dependencies
psr/log Version ^1.0 || ^2.0 || ^3.0
typo3/cms-core Version ^9.5 || ^10.4 || ^11.0 || ^12.0