https://github.com/networkteam/typo3-cachebase
It adds variables to the page cache identifier calculation for serving multiple versions of a webseite parallel. This is the case in container environments with rolling updates.
https://github.com/networkteam/typo3-cachebase
Last synced: 2 months ago
JSON representation
It adds variables to the page cache identifier calculation for serving multiple versions of a webseite parallel. This is the case in container environments with rolling updates.
- Host: GitHub
- URL: https://github.com/networkteam/typo3-cachebase
- Owner: networkteam
- Created: 2023-01-12T20:18:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T19:05:33.000Z (over 1 year ago)
- Last Synced: 2025-10-12T02:24:48.339Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# TYPO3 Extension networkteam_cachebase
In container environments with rolling updates there is the point where two versions run parallel and a page cache flush
is not what we want.
## What does it do?
This extension adds variables to the page cache identifier calculation. For our Use Case it adds the
environment variable `SENTRY_RELEASE`, which contains a version number.
More variables can be added like
```php
$GLOBALS['EXTCONF']['networkteam_cachebase']['keys']['your_key'] = 'value';
```
## Installation
```shell
composer req networkteam/typo3-cachebase
```
## Background
The page cache hash calculation is based on
* Page row
* TypoScript Conditions
* Modification time of loaded TypoScript files
* Site
* ... and some more
but changes for example in Fluid Templates are not taken into account.