zotonic/zotonic — Issue #296: {% cache ... enhancement
Author: mmzeeman
Created: 2012-02-21 14:08:07+00:00
State: open

I would like to add an extra 'if' option. This option takes a boolean. When it is true (the default) the part will be cached, if it is false no caching will be done. Example:

{% cache if=high_noon vary=id %}

... complicated template

{% endcache %}

You like it?