Skip to content

{exp:stash:static}

Mark Croxton edited this page Jun 21, 2013 · 13 revisions

Cache an entire page to a static file. Note that you cannot escape certain parts of your template to remain dynamic when using the static cache.

Simply place this tag anywhere in your template.

{exp:stash:static}

Parameters

name = [ string ]

The name of your cached variable (optional).

context = [ string ]

Define a context for your cached variable (optional). This is essentially a prefix for the name. Use to 'tag' your variables, in order to use as a target for cache-breaking.

Clone this wiki locally