Solution 1:
see this..
https://www.varnish-cache.org/docs/trunk/tutorial/purging.html
basically you are doing a lookup on what you want to pass.. then to the purge in the hit/miss
see this..
https://www.varnish-cache.org/docs/trunk/tutorial/purging.html
basically you are doing a lookup on what you want to pass.. then to the purge in the hit/miss