Skip to content

Commit a81d330

Browse files
committed
[book][cache][tip] added cache annotations.
1 parent 6cba0f1 commit a81d330

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/http_cache.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,12 @@ both worlds. In other words, by using both expiration and validation, you
759759
can instruct the cache to serve the cached content, while checking back
760760
at some interval (the expiration) to verify that the content is still valid.
761761

762+
.. tip::
763+
764+
You can also define HTTP caching headers for expiration and validation by using
765+
annotations. See the
766+
:doc:`FrameworkExtraBundle documentation </bundles/SensioFrameworkExtraBundle/annotations/cache>`.
767+
762768
.. index::
763769
pair: Cache; Configuration
764770

0 commit comments

Comments
 (0)