Skip to the content
Documentation

View cache example should use scope=global

No ratings yet

Since scope isn't that used anymore (since the template language changed in 3.6), the example should use scope=global to avoid people having troubles with it when the try to use it in a included template.
So:

{set-block scope=global variable=cache_ttl}0{/set-block}