Releases: zazuko/varnish-post
v2.7.0
v2.6.0
v2.5.0
Minor Changes
-
60aa54b: It is now possible to configure purge ACL, by setting the
PURGE_ACL
to a relevant hostname or IP CIDR.By default, the
PURGE_ACL
is set tolocalhost
.
This means that only requests coming from the same host as the Varnish container will be able to purge the cache.You can set the
PURGE_ACL
to0.0.0.0/0
to allow all hosts to purge the cache for example, or a more specific IP CIDR.
v2.4.0
v2.3.0
Minor Changes
-
1b8342c: Add xkey support in order to support tag-based invalidation.
The backend can now send a
xkey
header with a value that will be used to tag the cache entry.
This tag can be used to invalidate the cache entry by sending aPURGE
request with thexkey
header set to the same value like this:curl -sL -X PURGE -H 'xkey: TAG_VALUE' http://varnish-endpoint/
Doing this will remove all cache entries that have the same tag value.