Skip to content

Commit bb3ff1d

Browse files
committed
Merge pull request #225 from zanderbaldwin/221-fix-docs-for-taghandler-flush
Update Documentation
2 parents 2142008 + 95df939 commit bb3ff1d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/invalidation-handlers.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,17 @@ Assume you sent four responses:
6767

6868
You can now invalidate some URLs using tags::
6969

70-
$tagHandler->invalidateTags(array('group-a', 'tag-four'))->flush();
70+
$tagHandler->invalidateTags(array('group-a', 'tag-four'));
7171

7272
This will ban all requests having either the tag ``group-a`` /or/ ``tag-four``.
7373
In the above example, this will invalidate ``/two``, ``/three`` and ``/four``.
7474
Only ``/one`` will stay in the cache.
7575

76+
.. note::
77+
78+
Don't forget to :ref:`flush <flush>` these invalidation changes to the proxy
79+
from the ``CacheInvalidator`` object towards the end of your application.
80+
7681
.. _custom_tags_header:
7782

7883
Custom Tags Header

0 commit comments

Comments
 (0)