File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ Configuration and usage
7
7
8
8
If you wish to invalidate cached objects in Varnish, begin by adding an [ ACL] ( https://www.varnish-cache.org/docs/3.0/tutorial/vcl.html#example-3-acls )
9
9
to your Varnish configuration. This ACL determines which IPs are allowed to
10
- issue invalidation requests. Let’s call the ACL ` invalidators ` . This ACL will
11
- also be used throughout the Varnish examples on this page.
10
+ issue invalidation requests. Let’s call the ACL ` invalidators ` . The ACL below
11
+ will be used throughout the Varnish examples on this page.
12
12
13
13
``` varnish
14
14
# /etc/varnish/your_varnish.vcl
@@ -21,6 +21,10 @@ acl invalidators {
21
21
}
22
22
```
23
23
24
+ Note: please make sure that all web servers running your Symfony2 app that may
25
+ trigger invalidation are whitelisted here. Otherwise, lost cached invalidation
26
+ requests will lead to lots of confusion.
27
+
24
28
### Purging
25
29
26
30
First make sure your Varnish is [ configured for handling PURGE requests] ( https://www.varnish-cache.org/docs/3.0/tutorial/purging.html ) .
You can’t perform that action at this time.
0 commit comments