Skip to content

Asynchronous Varnish Purging in Magento 2, to reduce number of HTTP requests to Varnish

License

Notifications You must be signed in to change notification settings

integer-net/magento2-async-varnish

Repository files navigation

Integer_Net AsnycVarnish

Software License Build Status Coverage Status Quality Score

Saves cache_tags to database to defer invalidation through cronjob instead of direct execution.

Usage:

  • via crontab
  • run bin/magento integernet:asyncvarnish:purge

Installation

  1. Install via composer
    composer require integer-net/magento2-async-varnish
    
  2. 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

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy tests/Integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In that directory, run

    ../../../vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Asynchronous Varnish Purging in Magento 2, to reduce number of HTTP requests to Varnish

Resources

License

Stars

Watchers

Forks

Packages

No packages published