From a81d3303c856b52dfa98765b9767e444ceb8600b Mon Sep 17 00:00:00 2001 From: Abdellatif Ait boudad Date: Thu, 19 Jun 2014 22:03:45 +0100 Subject: [PATCH] [book][cache][tip] added cache annotations. --- book/http_cache.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/book/http_cache.rst b/book/http_cache.rst index e30bd40c7b7..f8d60164c3a 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -759,6 +759,12 @@ both worlds. In other words, by using both expiration and validation, you can instruct the cache to serve the cached content, while checking back at some interval (the expiration) to verify that the content is still valid. +.. tip:: + + You can also define HTTP caching headers for expiration and validation by using + annotations. See the + :doc:`FrameworkExtraBundle documentation `. + .. index:: pair: Cache; Configuration