DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Installation

Adding Static to your template

You can include static to your template in order to set a global lifetime for your caches. Just add "Extension 'MageCache' (magecache)" to your template static like shown in the following picture.

../_images/adding_static.jpg

Changing the default lifetime

The global lifetime of the caches is configured in the Typoscript. You can refer to the constants to change the lifetime setting like shown in the picture below.

../_images/constants.jpg

Another way is to directly change the Typoscript Setup with

plugin.tx_magecache.settings.cache_lifetime = XXX