How do you check a Magento 2 purge on every Varnish node?

2 min read

An origin server linked to two cache nodes with cyan and amber indicators

Choose one public CMS page on staging. Note its address and a content marker such as v1. Map the origin, each Varnish node and any load balancer or CDN that can select a response.

Distinguish the shop domain from the cache node address

After Flush Cache Storage, Kowal Purge Varnish Cache 1.0.8 extracts distinct hostnames from the base URLs. Each ban targets the same local management endpoint, 127.0.0.1:6082. Two language views on one domain issued one command. Check the responses to confirm coverage. Kowal Purge Varnish Cache. Module documentation.

Change the content and read the same URL on each node

Confirm v1 at every point first and v2 at the origin after editing. The local simulation used the original observer and a substitute for the Varnish client. Following the ban on A, B still served v1. After B’s copy was invalidated separately, both served v2.

One CMS page and two simulated Varnish nodes
StageOriginVarnish AVarnish B
Before the changev1v1v1
Change at originv2v1v1
Ban on A onlyv2v2v1
B invalidated toov2v2v2

Keep the same domain, protocol and path. Read without a session through the approved route to each node. If B alone shows old content, check that it is on Adobe Commerce’s HTTP cache host list and that it accepted the purge. Then check the usual URL via the CDN. Adobe Commerce Varnish host configuration.

For the initial setup, see the earlier Purge Varnish Cache guide.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)