integer-net / magento2-async-varnish
Module for Magento 2 that defers and bundles purge requests to Varnish to reduce number of HTTP requests and increase speed of mass updates
Installs: 1 298
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 12
Forks: 0
Open Issues: 4
Type:magento2-module
Requires
- php: >=7.1.0
- magento/framework: ^100.1|^101.0|^102.0
- magento/module-page-cache: ^100.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-26 01:30:13 UTC
README
Saves cache_tags to database to defer invalidation through cronjob instead of direct execution.
Usage:
- via crontab
- run
bin/magento integernet:asyncvarnish:purge
Installation
- Install via composer
composer require integer-net/magento2-async-varnish
- Enable module
bin/magento setup:upgrade
Configuration
Zero configuration needed.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Magento Integration Tests
-
Configure test database in
dev/tests/integration/etc/install-config-mysql.php
. Read more in the Magento docs. -
Copy
tests/Integration/phpunit.xml.dist
from the package todev/tests/integration/phpunit.xml
in your Magento installation. -
In that directory, run
../../../vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email fs@integer-net.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.