Skip to content

Commit

Permalink
DOC Document partial template caching aggregates recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsl48 committed Oct 4, 2020
1 parent 4ab36ac commit c2d8d27
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -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

Expand Down

0 comments on commit c2d8d27

Please sign in to comment.