Heyday\CacheInclude\SilverStripe\TemplateParserBlockProvider::cacheIncludeTemplate
Allows the use of a <% cache_include 'IncludeName' %> syntax in templates. Defaults to looking up a config that matches the include name, but can be specified separately as config names must not contain special characters whereras includes may (e.g. namespaces)
Also supports the optional specification of a key creator and a cache include instance <% cache_include 'Include\Name', 'ConfigName', 'KeyCreatorServiceName', 'CacheIncludeServiceName' %><% end_cache %>
Signature
public function cacheIncludeTemplate(
$res )
Parameters
$res
—
Returns
- string