dreamhost updated reamme
dreamhost updated reamme

--- a/varnish-conf/README.rst
+++ b/varnish-conf/README.rst
@@ -101,6 +101,9 @@
 and attempt to automatically pick the best method based on the URL if you
 don't use an X-Purge-Method header.  See the comments in `lib/purge.vcl` for
 details.
+You can also use the X-VC-Purge-Key method. Generate a MD5/SHA-256 hash and fill it on line
+if (req.http.X-VC-Purge-Key == "hash-to-be-filled-in") {
+in lib/purge.vcl. Then use the same hash in Varnish Caching WP admin.
 
 
 Static File Caching

--- a/varnish-conf/lib/purge.vcl
+++ b/varnish-conf/lib/purge.vcl
@@ -1,3 +1,4 @@
+# purge.vcl -- Cache Purge Library for Varnish
 
 # Regex purging
 # Treat the request URL as a regular expression.

comments