The if statement that was supposed to check if the Magento cache type...
… was set to the string "varnish", actually set the cache type to "varnish". This resulted in that the Varnish cache was always purged, when some other cache type was purged.
Thanks wbdv for the patch. Updates varnish config to not cache wishlist.
… to their needs
… changed; fix for #1
…gement, refresh varnish cache