DOC Document partial template caching aggregates recommendation

This commit is contained in:
Serge Latyntcev 2020-10-05 11:29:19 +13:00
parent 4ab36ac210
commit c2d8d2790f

View File

@ -107,6 +107,13 @@ template render.
[/warning]
[warning]
If you use the same aggregate in a template more than once, it will be recalculated every time
unless you move it out into a separate
[controller method](../templates/partial_template_caching/#cache-key-calculated-in-controller).
[Object Caching](../templates/caching/#object-caching) only works for single variables and not for chained expressions.
[/warning]
## Purposely stale data