PHPackages                             taurus-media/module-varnish-config - 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. taurus-media/module-varnish-config

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

taurus-media/module-varnish-config
==================================

Magento 2 module that automatically downloads a VCL template and applies Varnish configuration via cron

1.0.1(1mo ago)0199↓100%1MITPHPPHP &gt;=8.1

Since Apr 27Pushed 3w agoCompare

[ Source](https://github.com/taurus-media/module-varnish-config)[ Packagist](https://packagist.org/packages/taurus-media/module-varnish-config)[ RSS](/packages/taurus-media-module-varnish-config/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Taurus\_VarnishConfig
=====================

[](#taurus_varnishconfig)

A Magento 2 module that automatically keeps your Varnish configuration up to date by downloading a remote VCL template, processing it with Magento's native placeholder substitution, and applying it to the running Varnish instance.

How it works
------------

[](#how-it-works)

1. A cron job runs once a day
2. The VCL template is downloaded from a configured URL
3. Magento's built-in `VclGenerator` replaces all standard placeholders with live values from the store configuration (backend host/port, access list, grace period, SSL offload header, design exceptions)
4. The processed VCL is saved to `var/tmp/varnish_extended.vcl`
5. The new configuration is loaded and activated via `varnishadm`: ```
    varnishadm vcl.load magento2
    varnishadm vcl.use magento2

    ```

**NOTE:** `vcl.load` and `vcl.use` commands are not flushing the already cached pages.

Requirements
------------

[](#requirements)

- Magento 2 with `Magento_PageCache` module
- PHP 8.1+
- `varnishadm` available in the system `PATH` of the user running Magento cron

Installation
------------

[](#installation)

```
composer require taurus-media/module-varnish-config
bin/magento module:enable Taurus_VarnishConfig
bin/magento setup:upgrade
```

CLI command
-----------

[](#cli-command)

The VCL update can also be triggered manually:

```
bin/magento taurus:varnish:update-vcl
```

This runs the same logic as the cron job and exits with code `0` on success or `1` on failure, making it suitable for use in deployment pipelines.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance93

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

2

Last Release

42d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a63921d7d7fd387db50f9e01c25123205ad89de7a50c0c95ea2ba4061cc4b26?d=identicon)[taurus-media](/maintainers/taurus-media)

---

Top Contributors

[![taurus-media](https://avatars.githubusercontent.com/u/171674733?v=4)](https://github.com/taurus-media "taurus-media (1 commits)")

### Embed Badge

![Health badge](/badges/taurus-media-module-varnish-config/health.svg)

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

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.3M1](/packages/fastly-magento2)[elgentos/magento2-varnish-extended

This extension extends the built-in Varnish functionalities

6816.6k](/packages/elgentos-magento2-varnish-extended)[litespeed/module-litemage

LiteMage Full Page Cache for LiteSpeed Web Server

3256.9k](/packages/litespeed-module-litemage)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6179.2k](/packages/lizardmedia-module-varnish-warmer)[pronko/selective-cache

Pronko Consulting Selective Cache

3520.0k](/packages/pronko-selective-cache)[graycore/magento2-graphql-introspection-cache

1016.3k](/packages/graycore-magento2-graphql-introspection-cache)

PHPackages © 2026

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