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.

Information / Including

Introduction

MageCache is a set of ViewHelpers to cache contents or get/set session data within fluid.

Including into Fluid Templates

To use the Cache ViewHelpers, just add the Namespace to your Fluid-Template by using

<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
 xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
 xmlns:c="http://typo3.org/ns/MageDeveloper/Magecache/ViewHelpers">
 (Your content goes here)
</div>

or you can use

{namespace c = MageDeveloper\Magecache\ViewHelpers}