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.

Installs: 1 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

0.0.1 2023-01-12 21:44 UTC

This package is auto-updated.

Last update: 2024-10-26 19:27:43 UTC


README

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

$GLOBALS['EXTCONF']['networkteam_cachebase']['keys']['your_key'] = 'value';

Installation

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.