magehost / varnish-purge-filter
Varnish purge filter for Magento 2.x by MageHost.pro
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- ext-curl: *
- ext-json: *
- magento/framework: >=100.0
- magento/module-backend: >=100.0
- magento/module-cache-invalidate: >=100.0
- magento/module-page-cache: >=100.0
- magento/module-store: >=100.0
- monolog/monolog: >=1.11
- psr/log: >=1.0
This package is auto-updated.
Last update: 2024-12-16 17:56:17 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.
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.