Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-yin committed Mar 19, 2020
1 parent 9abf55b commit 3ef02ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ How it works

1. ``cache_block`` is very similar with Django ``{% cache %}`` templatetag, it would pull data from block automatically and use the value to generate fragment cache key.

2. If value in any block field has changed, new fragment key would be generated and new HTML fragment code would be saved to Cache.
2. If value in any block field (even ``descendants of the block``) has changed, new fragment key would be generated and new HTML fragment code would be saved to Cache.

3. ``cache_block`` would check if the page is ``preview`` mode, if the page if in preview mode, the ``HTML fragment cache`` would not be pulled from cache.

Expand Down

0 comments on commit 3ef02ef

Please sign in to comment.