User Tools

Site Tools


varnish_purge

Curl Purge

curl -X PURGE example.com
This command will only work if you have acl_purge to allow the IP address to purge:
acl purge {
  "localhost";
  "127.0.0.1";
  "163.172.209.217";
}
This prevents anyone purging someone elses cache.

Purge with varnishd command


varnish_purge.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1