@@ -15,7 +15,7 @@ Caching on the Shoulders of Giants
15
15
With HTTP Caching, you cache the full output of a page (i.e. the response) and bypass
16
16
your application *entirely * on subsequent requests. Of course, caching entire responses
17
17
isn't always possible for highly dynamic sites, or is it? With
18
- :doc: `Edge Side Includes (ESI) </cache /esi >`, you can use the power of HTTP caching
18
+ :doc: `Edge Side Includes (ESI) </http_cache /esi >`, you can use the power of HTTP caching
19
19
on only *fragments * of your site.
20
20
21
21
The Symfony cache system is different because it relies on the simplicity
@@ -76,7 +76,7 @@ but is a great way to start.
76
76
77
77
.. tip ::
78
78
79
- For details on setting up Varnish, see :doc: `/cache /varnish `.
79
+ For details on setting up Varnish, see :doc: `/http_cache /varnish `.
80
80
81
81
Enabling the proxy is easy: each application comes with a caching kernel (``AppCache ``)
82
82
that wraps the default one (``AppKernel ``). The caching Kernel *is * the reverse
@@ -153,7 +153,7 @@ information about cache hits and misses.
153
153
154
154
Fortunately, since all reverse proxies are effectively the same, you should
155
155
be able to switch to something more robust - like Varnish - without any problems.
156
- See :doc: `How to use Varnish </cache /varnish >`
156
+ See :doc: `How to use Varnish </http_cache /varnish >`
157
157
158
158
.. index ::
159
159
single: Cache; HTTP
@@ -242,7 +242,7 @@ for debugging information about cache hits and misses.
242
242
243
243
.. tip ::
244
244
245
- The URI of the request is used as the cache key (unless you :doc: `vary </cache /cache_vary >`).
245
+ The URI of the request is used as the cache key (unless you :doc: `vary </http_cache /cache_vary >`).
246
246
247
247
This is *super * performant and simple to use. But, cache *invalidation * is not supported.
248
248
If your content change, you'll need to wait until your cache expires for the page
@@ -257,7 +257,7 @@ If you need to set cache headers for many different controller actions, check ou
257
257
`FOSHttpCacheBundle `_. It provides a way to define cache headers based on the URL
258
258
pattern and other request properties.
259
259
260
- Finally, for more information about expiration caching, see :doc: `/cache /expiration `.
260
+ Finally, for more information about expiration caching, see :doc: `/http_cache /expiration `.
261
261
262
262
.. _http-cache-validation-intro :
263
263
@@ -276,7 +276,7 @@ If you need to see updated content *immediately*, you either need to
276
276
:ref: `invalidate <http-cache-invalidation >` your cache *or * use the validation
277
277
caching model.
278
278
279
- For details, see :doc: `/cache /validation `.
279
+ For details, see :doc: `/http_cache /validation `.
280
280
281
281
.. index ::
282
282
single: Cache; Safe methods
@@ -331,13 +331,13 @@ Cache invalidation is *not* part of the HTTP specification. Still, it can be rea
331
331
useful to delete various HTTP cache entries as soon as some content on your site
332
332
is updated.
333
333
334
- For details, see :doc: `/cache /cache_invalidation `.
334
+ For details, see :doc: `/http_cache /cache_invalidation `.
335
335
336
336
Using Edge Side Includes
337
337
------------------------
338
338
339
339
When pages contain dynamic parts, you may not be able to cache entire pages,
340
- but only parts of it. Read :doc: `/cache /esi ` to find out how to configure
340
+ but only parts of it. Read :doc: `/http_cache /esi ` to find out how to configure
341
341
different cache strategies for specific parts of your page.
342
342
343
343
Summary
@@ -357,7 +357,7 @@ Learn more
357
357
:maxdepth: 1
358
358
:glob:
359
359
360
- cache /*
360
+ http_cache /*
361
361
362
362
.. _`Things Caches Do` : http://2ndscale.com/writings/things-caches-do
363
363
.. _`Cache Tutorial` : http://www.mnot.net/cache_docs/
0 commit comments