mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOC Document partial template caching aggregates recommendation
This commit is contained in:
parent
4ab36ac210
commit
c2d8d2790f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user