kowal/module-purgevarnishcache

Purge Varnish Cache

1.0.0 2024-08-26 16:37 UTC

This package is not auto-updated.

Last update: 2024-11-05 13:51:46 UTC


README

``kowal/module-purgevarnishcache``

Main Functionalities

Purge Varnish Cache

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Kowal
  • Enable the module by running php bin/magento module:enable Kowal_PurgeVarnishCache
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • Add the composer repository to the configuration by running composer config repositories.repo.magento.com composer https://repo.magento.com/
  • Install the module composer by running composer require kowal/module-purgevarnishcache
  • enable the module by running php bin/magento module:enable Kowal_PurgeVarnishCache
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Configuration

Specifications

  • Observer
    • adminhtml_cache_flush_all > Kowal\PurgeVarnishCache\Observer\Backend\Adminhtml\CacheFlushAll

Attributes