Soft purge

Softpurge is cache invalidation in Varnish that reduces TTL but keeps the grace value of a resource. This makes it possible to serve purged content to users if a backend is unavailable and fresh content can not be fetched.

 

sub vcl_hit {
        if (req.method == "PURGE") {
                softpurge.softpurge();
        }
}

Status: 
Used in production
Licence: 
Varnish version supported: 
Commercial support: 
Varnish Software