Skip to content

Commit bd69d3c

Browse files
committed
Add TOC and fix link to FOSHttpCache docs
1 parent 3a557bf commit bd69d3c

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

Resources/doc/tagging.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Tagged Cache Invalidation
22
=========================
33

4+
* [Introduction](#introduction)
5+
* [Configuration](#configuration)
6+
* [Tagging with the Cache Manager](#tagging-with-the-cache-manager)
7+
* [Tagging with Annotations](#tagging-with-annotations)
8+
49
Introduction
510
------------
611

@@ -14,24 +19,24 @@ is a simpler version of [Linked Cache Invalidation](http://tools.ietf.org/html/d
1419

1520
Tagged Cache Invalidation allows you to:
1621
* assign tags to your applications’s responses (e.g., `articles`, `article-42`)
17-
* invalidate the responses by tag (e.g., invalidate all responses that are tagged
22+
* [invalidate the responses by tag](https://github.com/FriendsOfSymfony/FOSHttpCache/blob/master/doc/cache-invalidator.md#tags) (e.g., invalidate all responses that are tagged
1823
`article-42`)
1924

20-
Caching Proxy Configuration
21-
---------------------------
25+
Configuration
26+
-------------
2227

23-
You need to configure your caching proxy to support cache tagging. For Varnish,
24-
you can find an example configuration in the [Varnish chapter of the FOSHttpCache library]
25-
(https://github.com/ddeboer/FOSHttpCache/blob/master/doc/varnish.md#tagging).
28+
You need to configure your caching proxy to support cache tagging. See the FOSHttpCache
29+
documentation’s [Varnish Configuration chapter](https://github.com/FriendsOfSymfony/FOSHttpCache/blob/master/doc/varnish-configuration.md#tagging)
30+
for more details.
2631

27-
Tagging Using the Cache Manager
28-
------------------------
32+
Tagging with the Cache Manager
33+
------------------------------
2934

30-
You can use the [Cache Manager](cache-manager.md#tags) to manually set and
31-
invalidate tags.
35+
See the [Cache Manager chapter](cache-manager.md#tags) for more information on how
36+
to manually set and invalidate tags.
3237

33-
Tagging Using Annotations
34-
-------------------------
38+
Tagging with Annotations
39+
------------------------
3540

3641
You can make this bundle tag your response automatically using the `@Tag`
3742
annotation. GET operations will lead to the response being tagged, modifying

0 commit comments

Comments
 (0)