Skip to content

Commit c128fa1

Browse files
committed
Fix TOC
1 parent cd9444b commit c128fa1

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

doc/proxy-clients.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ Caching Proxy Clients
44
You can use the caching proxy clients either wrapped by the cache invalidator
55
(recommended), or directly for low-level access to invalidation functionality.
66

7+
* [Setup](#setup)
8+
* [CacheProxyInterface](#cacheproxyinterface)
9+
* [Purge](#purge)
10+
* [Refresh](#refresh)
11+
* [Ban](#ban)
12+
13+
Setup
14+
-----
15+
716
You should set up at least one caching proxy client:
817

918
* [Varnish client](varnish-client.md)
10-
* [Nginx client](nginx-client.md)
19+
* Nginx client
1120

12-
Continue reading here for general information about the interfaces that are
13-
implemented by the clients.
14-
15-
* [CacheProxyInterface](#cacheproxyinterface)
16-
* [PurgeInterface](#purgeinterface)
17-
* [RefreshInterface](#refreshinterface)
18-
* [BanInterface](#baninterface)
21+
Then continue here to find out how to use the proxy clients.
1922

2023
CacheProxyInterface
2124
-------------------
@@ -32,8 +35,8 @@ requests to the caching proxy. This is on purpose: this way, we can send
3235
all requests together, reducing the performance impact of sending invalidation
3336
requests.
3437

35-
PurgeInterface
36-
--------------
38+
Purge
39+
-----
3740

3841
If the caching proxy understands [purge requests](invalidation-introduction.md#purge),
3942
its client should implement `PurgeInterface`. Use the `purge($url)` method to
@@ -48,8 +51,8 @@ $client
4851
;
4952
```
5053

51-
RefreshInterface
52-
----------------
54+
Refresh
55+
-------
5356

5457
If the caching proxy understands [refresh requests](invalidation-introduction.md#refresh),
5558
its client should implement `RefreshInterface`. Use the
@@ -74,8 +77,8 @@ $client
7477
;
7578
```
7679

77-
BanInterface
78-
------------
80+
Ban
81+
---
7982

8083
If the caching proxy understands [ban requests](invalidation-introduction.md#ban),
8184
its client should implement `BanInterface`.

0 commit comments

Comments
 (0)