Log in
Model

PurgeCache

Magento\CacheInvalidate\Model\PurgeCache

What it does

This class handles invalidating external HTTP cache systems (like Varnish) by sending PURGE requests with cache tag patterns.

Developers use this when they need to clear specific cached content on external cache servers after content updates, allowing Magento to communicate which cache entries should be invalidated based on tags.

Public Methods

  • sendPurgeRequest()