PHPackages                             lizardmedia/module-varnish-warmer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. lizardmedia/module-varnish-warmer

ActiveMagento2-module[Caching](/categories/caching)

lizardmedia/module-varnish-warmer
=================================

Varnish Cache Warmer Magento2 module by Lizard Media

2.3.3(3mo ago)6180.3k↓46%25[5 issues](https://github.com/lizardmedia/varnish-warmer-magento2/issues)MITPHPPHP &gt;=7.1.0CI failing

Since May 22Pushed 3mo ago9 watchersCompare

[ Source](https://github.com/lizardmedia/varnish-warmer-magento2)[ Packagist](https://packagist.org/packages/lizardmedia/module-varnish-warmer)[ RSS](/packages/lizardmedia-module-varnish-warmer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (12)Versions (19)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/a343172cf659257a450515980472cd3e2ac3cb7e78d8108a8de2f789acc87709/68747470733a2f2f706f7365722e707567782e6f72672f6c697a6172646d656469612f6d6f64756c652d7661726e6973682d7761726d65722f762f737461626c65)](https://packagist.org/packages/lizardmedia/module-varnish-warmer)[![Total Downloads](https://camo.githubusercontent.com/72d8ece2b2e0e3af65be580b699fe88a4a703b10daa2689e69777e0fa7167398/68747470733a2f2f706f7365722e707567782e6f72672f6c697a6172646d656469612f6d6f64756c652d7661726e6973682d7761726d65722f646f776e6c6f616473)](https://packagist.org/packages/lizardmedia/module-varnish-warmer)[![License](https://camo.githubusercontent.com/12d1f1049796a40a3d4276915abdf93a632728ff395620aa392cffaf7f617c4c/68747470733a2f2f706f7365722e707567782e6f72672f6c697a6172646d656469612f6d6f64756c652d7661726e6973682d7761726d65722f6c6963656e7365)](https://packagist.org/packages/lizardmedia/module-varnish-warmer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3017437ce05ddf6d79a99b0eeffa645767f47c0cb1f697b8b422e1a80b855392/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c697a6172646d656469612f7661726e6973682d7761726d65722d6d6167656e746f322f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lizardmedia/varnish-warmer-magento2/?branch=master)[![Build Status](https://camo.githubusercontent.com/ac4c17a233f00a693fd1019331bc1e1383814aafce39eba9373cf5c3d48de727/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c697a6172646d656469612f7661726e6973682d7761726d65722d6d6167656e746f322f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lizardmedia/varnish-warmer-magento2/build-status/master)

Magento2 Varnish Cache Warmer
=============================

[](#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.

Getting Started
---------------

[](#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.

### Prerequisites

[](#prerequisites)

##### For release 1.0

[](#for-release-10)

- Magento 2.2
- PHP 7.1

##### For realease 2.0

[](#for-realease-20)

- Magento 2.3
- PHP 7.1/7.2

##### For realease 2.2

[](#for-realease-22)

- Magento 2.3
- PHP 7.1/7.2/7.3

##### For realease 2.3

[](#for-realease-23)

- Magento 2.3/2.4
- PHP 7.1/7.2/7.3/7.4

### Installing

[](#installing)

#### Download the module

[](#download-the-module)

##### Using composer (suggested)

[](#using-composer-suggested)

Simply run

```
composer require lizardmedia/module-varnish-warmer

```

##### Downloading ZIP

[](#downloading-zip)

Download a ZIP version of the module and unpack it into your project into

```
app/code/LizardMedia/VarnishWarmer

```

If you use ZIP file you will need to install the dependencies of the module manually

```
composer require react/http-client:^0.5.9

```

#### Install the module

[](#install-the-module)

Run this command

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

```

Usage
-----

[](#usage)

#### Admin panel

[](#admin-panel)

The commands can be run in backround from admin panel using `Lizard Media Varnish Warmer`menu tab.

#### CLI

[](#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

Command options
---------------

[](#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
--------------

[](#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.

Contributing
------------

[](#contributing)

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

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/lizardmedia/varnish-warmer-magento2/tags).

Authors
-------

[](#authors)

- **Maciej Sławik** - *Initial work* - [Lizard Media](https://github.com/maciejslawik)
- **Bartosz Kubicki** - *Fixes &amp; maintenance* - [Lizard Media](https://github.com/bartoszkubicki)

See also the list of [contributors](https://github.com/lizardmedia/varnish-warmer-magento2/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance79

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Recently: every ~527 days

Total

17

Last Release

99d ago

Major Versions

1.0.7 → 2.0.02019-02-12

PHP version history (4 changes)1.0.1PHP ~7.1.0

2.0.0PHP &gt;=7.1.0

2.1.0PHP ~7.1.0|~7.2.0

2.2.0PHP ~7.1.0|~7.2.0|~7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/68c2484123c5a8f7a80ddce8b9e0f05f75c59739829102299aa6014a2c670c4f?d=identicon)[lizardmedia](/maintainers/lizardmedia)

---

Top Contributors

[![maciejslawik](https://avatars.githubusercontent.com/u/11910648?v=4)](https://github.com/maciejslawik "maciejslawik (11 commits)")[![krzysztofkuzniar](https://avatars.githubusercontent.com/u/9982150?v=4)](https://github.com/krzysztofkuzniar "krzysztofkuzniar (3 commits)")[![mkobierzynski](https://avatars.githubusercontent.com/u/41793845?v=4)](https://github.com/mkobierzynski "mkobierzynski (3 commits)")[![zbigniewKurasLM](https://avatars.githubusercontent.com/u/66433780?v=4)](https://github.com/zbigniewKurasLM "zbigniewKurasLM (2 commits)")[![gtlt](https://avatars.githubusercontent.com/u/17992895?v=4)](https://github.com/gtlt "gtlt (1 commits)")

---

Tags

magento2magento2-modulevarnish-cache

### Embed Badge

![Health badge](/badges/lizardmedia-module-varnish-warmer/health.svg)

```
[![Health](https://phpackages.com/badges/lizardmedia-module-varnish-warmer/health.svg)](https://phpackages.com/packages/lizardmedia-module-varnish-warmer)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
