barkamlesh / varnishlog
Magento 2 module for Varnish logging and cache invalidation.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ^8.1
- magento/framework: >=103.0.0
- monolog/monolog: ^2.0
README
Description
Magento 2 module for Varnish logging and cache invalidation. This module logs cache invalidation events for categories and products, helping you monitor Varnish cache operations.
Installation
Composer
composer require barkamlesh/varnishlog
Enable the module
php bin/magento module:enable Kamlesh_VarnishLog php bin/magento setup:upgrade
Usage
- Logs cache invalidation events for categories and products.
- Integrates with Magento's event system.
File Structure
VarnishLog/
composer.json
registration.php
etc/
module.xml
events.xml
Logger/
VarnishLogger.php
Observer/
CacheInvalidation.php
Support
- Issues: https://github.com/barkamlesh/varnishlog/issues
- Source: https://github.com/barkamlesh/varnishlog
License
MIT