magehost/varnish-purge-filter

Varnish purge filter for Magento 2.x by MageHost.pro

1.0.4 2021-08-16 10:23 UTC

This package is auto-updated.

Last update: 2024-10-16 17:39:11 UTC


README

The free Varnish Purge Filter Extension by MageHost.pro adds an option to filter purges for specific tags.
This extension is useful to prevent shop admins and the application from busting the cache on important moments.

Install via Composer

composer require magehost/varnish-purge-filter
php bin/magento module:enable MageHost_VarnishPurgeFilter
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Usage

WARNING: This extension only works when Varnish or Fastly is enabled.

  • Check if Varnish or Fastly is enabled and configured in Stores > Configuration > Advanced > System > Full Page Cache.
  • Set the dropdown to yes for the tags that should not be flushed in Stores > Configuration > Advanced > System > Full Page Cache > Purge Filters.

screenshot

Uninstall

php bin/magento module:disable MageHost_VarnishPurgeFilter
composer remove magehost/varnish-purge-filter
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Description

This extension is free, licence: MIT.

During black friday, we noticed unnecessary pressure on some environments caused by too much purges.
These purges are often caused by imports or shop admins changing thing last minute.
Preventing the purges is often crucial for the health of your environment.