mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3873 from chillburn/patch-1
Update 00_Partial_Caching.md
This commit is contained in:
commit
ba9b739a04
@ -159,7 +159,7 @@ To cache the contents of a page for all anonymous users, but dynamically calcula
|
|||||||
|
|
||||||
## Uncached
|
## Uncached
|
||||||
|
|
||||||
Yhe template tag 'uncached' can be used - it is the exact equivalent of a cached block with an if condition that always
|
The template tag 'uncached' can be used - it is the exact equivalent of a cached block with an if condition that always
|
||||||
returns false. The key and conditionals in an uncached tag are ignored, so you can easily temporarily disable a
|
returns false. The key and conditionals in an uncached tag are ignored, so you can easily temporarily disable a
|
||||||
particular cache block by changing just the tag, leaving the key and conditional intact.
|
particular cache block by changing just the tag, leaving the key and conditional intact.
|
||||||
|
|
||||||
@ -235,4 +235,4 @@ Can be re-written as:
|
|||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
<% end_cached %>
|
<% end_cached %>
|
||||||
|
|
||||||
<% end_cached %>
|
<% end_cached %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user