2017 © Pedro PelĂĄez
 

typo3-cms-extension proxycachemanager

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

image

b13/proxycachemanager

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

  • Monday, June 18, 2018
  • by b13
  • Repository
  • 6 Watchers
  • 1 Stars
  • 123 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Proxy Cache Manager

This TYPO3 extension is a flexible and generic way to track the pages that are cached by a reverse proxy like nginx or varnish, or any useful CDN., (*1)

Currently supported backends / providers: * Cloudflare CDN (https://packagist.org/packages/b13/cloudflare-cdn) * Akamai CDN (https://packagist.org/packages/b13/akamai) * Azure CDN (https://packagist.org/packages/b13/azure-purge), (*2)

What does it do?

By embracing TYPO3's Caching Framework this extension provides a new cache to track all pages outputted that are "cacheable". When an editor changes content on a page, the page cache needs to be cleared - and the CDN / reverse proxy needs to be informed that the cache is invalid. This is usually done via a HTTP PURGE request to the CDN / proxy server or a custom API., (*3)

The benefits for that are that the editor does not need to worry why out-of-date information is still visible on his/her website., (*4)

Requirements

  • A TYPO3 setup (v11 LTS+) with cacheable content, see the "cacheinfo" extension for what can be tracked with HTTP caches.
  • A CDN or Reverse Proxy (such as nginx or apache2)

Setup

Install the extension and make sure to enter the details about your proxy servers, otherwise the default (IENV:TYPO3_REV_PROXY) is used., (*5)

Don't forget to set the according TYPO3 settings for using proxies, see $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP'] and $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyHeaderMultiValue']., (*6)

Whenever a cacheable frontend page is now called, the full URL is stored in a cache called "tx_proxy" automatically (a derivative of the Typo3DatabaseBackend cache), tagged with the pageID. Whenever the cache is flushed, the database table is emptied completely, additionally, a HTTP PURGE call to the reverse proxy is made to empty all caches. If only a certain tag is removed, the PURGE call is made only to the relevant URLs that are stored in the cache., (*7)

Configuration

By default all administrators can flush the CDN caches via the toolbar on the top right corner of TYPO3's Backend., (*8)

To enable the button for non-admin editors, use this UserTsConfig option:, (*9)

options.clearCache.proxy = 1, (*10)

To explicitly disable the button for specific administrators, use this UserTsConfig option:, (*11)

options.clearCache.proxy = 0, (*12)

Credits

The extension was created taken all the great from Andreas Gellhaus, Tom RĂŒther into account, as well as moc_varnish and cacheinfo as great work before., (*13)

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., (*14)

The Versions

18/06 2018

v2.0.2

2.0.2.0 https://www.b13.de/

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Benni Mack

cache typo3 cdn varnish proxy purge

18/06 2018

dev-master

9999999-dev https://www.b13.de/

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Benni Mack

cache typo3 cdn varnish proxy purge

18/06 2018

v2.0.1

2.0.1.0 https://www.b13.de/

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Benni Mack

cache typo3 cdn varnish proxy purge

15/06 2018

v2.0.0

2.0.0.0 https://www.b13.de/

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Benni Mack

cache typo3 cdn varnish proxy purge