Skip to content

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.

Notifications You must be signed in to change notification settings

networkteam/typo3-cachebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

$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.

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages