2017 © Pedro Peláez
 

magento2-module module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

image

lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

  • Thursday, May 24, 2018
  • by lizardmedia
  • Repository
  • 3 Watchers
  • 5 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 6 Versions
  • 71 % Grown

The README.md

Latest Stable Version Total Downloads License Scrutinizer Code Quality Build Status, (*1)

Magento2 Varnish Cache Warmer

Magento2 module for handling Varnish Cache cleaning and regenerating using admin panel and CLI. It uses multiple process to run the commands to minimize the time required to run., (*2)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system., (*3)

Prerequisites

For release 1.0
  • Magento 2.2
  • PHP 7.1
For realease 2.0
  • Magento 2.3
  • PHP 7.1/7.2
For realease 2.2
  • Magento 2.3
  • PHP 7.1/7.2/7.3
For realease 2.3
  • Magento 2.3/2.4
  • PHP 7.1/7.2/7.3/7.4

Installing

Download the module

Using composer (suggested)

Simply run, (*4)

composer require lizardmedia/module-varnish-warmer
Downloading ZIP

Download a ZIP version of the module and unpack it into your project into, (*5)

app/code/LizardMedia/VarnishWarmer

If you use ZIP file you will need to install the dependencies of the module manually, (*6)

composer require react/http-client:^0.5.9

Install the module

Run this command, (*7)

bin/magento module:enable LizardMedia_VarnishWarmer
bin/magento setup:upgrade

Usage

Admin panel

The commands can be run in backround from admin panel using Lizard Media Varnish Warmer menu tab., (*8)

CLI

The commands can be run using Magento built-in CLI: * lm-varnish:cache-purge-homepage - purges and regenerates homepage * lm-varnish:cache-purge-general - purges and regenerates homepage and categories * lm-varnish:cache-purge-wildcard - purges * and regenerates homepage, categories and products * lm-varnish:cache-purge-all - purges and regenerates homepage, categories and products * lm-varnish:cache-purge-force - purges * without regenerating. Omits lock check * lm-varnish:cache-purge-products - purges and regenerates products * lm-varnish:cache-refresh-url - purges and regenerates single URL given as argument, (*9)

Command options

  • store - sets store view ID to get a correct base URL, e.g.
php bin/magento lm-varnish:cache-refresh-url "*" --store=1

For developers

The number of process used for purging and regenerating Varnish cache can be customized in the admin panel. The max number of processes is specified in LizardMedia\VarnishWarmer\Model\Config\GeneralConfigProvider If you have a powerful server you can modify those numbers to use more resources., (*10)

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us., (*11)

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository., (*12)

Authors

See also the list of contributors who participated in this project., (*13)

License

This project is licensed under the MIT License - see the LICENSE.md file for details, (*14)

The Versions

24/05 2018

dev-master

9999999-dev

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires

 

24/05 2018

1.0.4

1.0.4.0

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires

 

23/05 2018

1.0.3

1.0.3.0

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires

 

23/05 2018

1.0.2

1.0.2.0

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires

 

22/05 2018

1.0.1

1.0.1.0

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires

 

21/05 2018

dev-develop

dev-develop

Varnish Cache Warmer Magento2 module by Lizard Media

  Sources   Download

MIT

The Requires