we need a concept for cacheable viewhelpers
Updated by Bastian Waidelich almost 9 years ago
Ha, just stumbled upon this one ;)
Christian Mueller wrote:
Isn't that obsolete with the Fluid caching as is?
"Fluid caching" is the wrong word. It's rather a "compilation": Fluid templates get compiled into PHP code with static snippets. Depending on the ViewHelpers, such a compiled template can still take a while to render. Thus cache VH would still make sense.
Here the basic one I created today:
But I'm not sure, if it makes sense to include such VH to the distribution.
It probably makes more sense to add such behavior to the View itself in order to be able to cache partials/sections (see #43457)