Cache / SetCacheViewHelper

This is a ViewHelper to set a new cache entry.

Type: Basic

General properties

Examples

Basic example

Code:

{maps2:cache.setCache(cacheIdentifier: 'htmlCache{poiCollection.uid}', data: '{content->f:format.raw()}', tags: {0: poiCollection.pid}, lifetime: 3600)}