Varnish purging

Does anyone have experience with Varnish? I am trying to use VCL to enable object purging via URL.

Example:

I know its possible with VCL i just can’t seem to figure it out. I’m surprised more Varnish users don’t want to do this as it makes it easier to purge an object without having to connect to the CLI or use cURL.

Thanks

What problem are you having with this as the purging is pretty simple (There are tons and tons of examples), ensuring to auth.

If you are clear what problem you are having and post your vcl’s maybe we can help.

If you had this set up to purge any file/page, would make it relatively easy for an attacker to degrade site performance or even create a DOS on your site.

ACLs

But you aren’t authenticating that request so an ACL is pretty pointless.