Support » Plugins and Hacks » [Resolved] [Plugin: Varnish HTTP Purge] no purging

[Resolved] [Plugin: Varnish HTTP Purge] no purging

  • RavanH


    Editing and saving posts and pages does not seem to purge the Varnish cache. At least, viewing my test site http://vps11611.ovh.net/ via web-sniffer.com, shows it is being served the cached (old) post.

    In my /etc/varnish/default.vcl :

    # Purge ACL
    acl purge {
            # Only localhost can purge my cache

    Do I need something else to get this working?

    Thanks 🙂


Viewing 1 replies (of 1 total)
  • The default.vcl needs a way to purge a particular request. For example, in my default.vcl, I have the following code to purge…

    sub vcl_recv {
      	if (req.request == "PURGE") { return (lookup); }
    sub vcl_hit {
    	if (req.request == "PURGE") { purge; }
    	return (deliver);
    sub vcl_miss {
    	if (req.request == "PURGE") { purge; }
    	return (fetch);
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Varnish HTTP Purge] no purging’ is closed to new replies.