PHPackages                             netlogix/nxvarnish - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. netlogix/nxvarnish

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

netlogix/nxvarnish
==================

Adds varnish integration to TYPO3

6.0.0(10mo ago)237.0k↓20.4%1[4 PRs](https://github.com/netlogix/nxvarnish/pulls)MITPHPCI passing

Since Feb 14Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/netlogix/nxvarnish)[ Packagist](https://packagist.org/packages/netlogix/nxvarnish)[ RSS](/packages/netlogix-nxvarnish/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (11)Used By (0)

TYPO3 extension nxvarnish
=========================

[](#typo3-extension-nxvarnish)

[![stability-stable](https://camo.githubusercontent.com/e6f427d32b746f81756ff5dcc5ffd5a3e1e51c07ac6c9160669f4dcd01e89935/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d737461626c652d3333626266662e737667)](https://github.com/netlogix/nxvarnish)[![TYPO3 V13](https://camo.githubusercontent.com/2cf6570821614808899422f68a66a381a2de1dd0746ba9cdba6155def1f4f396/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332d6f72616e67652e737667)](https://get.typo3.org/version/13)[![Minimum PHP Version](https://camo.githubusercontent.com/9c50dc780fa576f5c39b4feff00c05345c1471be0808881a09e750b91220dc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)[![GitHub CI status](https://github.com/netlogix/nxvarnish/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/netlogix/nxvarnish/actions)

Adds varnish integration to TYPO3. Ensures varnish caches are flushed when TYPO3 caches are flushed. Uses cache tags to flush all necessary content.

Compatibility
-------------

[](#compatibility)

The current version (6.x) of this extension has been tested using these versions:

- TYPO3 13.4 on PHP 8.3
- TYPO3 13.4 on PHP 8.4

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

[](#installation)

Install the package via composer.

```
composer require netlogix/nxvarnish
```

Configuration
-------------

[](#configuration)

### TYPO3

[](#typo3)

This extension provides some configuration in Install Tool.

- varnishHost: **required**, needed to communicate with Varnish in order to purge caches
- allowCacheLogin: *optional*, send normal cache headers even when someone is logged in

### Varnish

[](#varnish)

Varnish needs some special configuration to understand cache tags and BAN requests. Add this to your Varnish .vcl:

```
# WARNING: this is an example how to add tag-based purging to an existing
# Varnish configuration. This is *not* a complete configuration!

# a list of clients that are allowed to initiate a BAN
acl purge {
      "localhost";
      # add whatever IPs are allowed to initiate a BAN
      "172.16.0.0"/16; # just an example
}

sub vcl_recv {

    # ...

    if (req.method == "BAN") {
        # only allow cache BANs from known IPs
        if (!std.ip(req.http.X-Client-Ip, client.ip) ~ purge) {
            return (synth(405, "Not allowed."));
        }

        # ban using cache tags
        if (req.http.X-Cache-Tags) {
            # this will ban all cache objects with matching tags
            ban("obj.http.X-Cache-Tags ~ " + req.http.X-Cache-Tags);

            # create an HTTP 200 response and exit
            return (synth(200, "Ban added."));
        }

        # return an error if no cache tags were provided.
        # you might need to remove this if you have additional BAN conditions
        return (synth(400, "Bad Request."));

    }

    # ...

}

sub vcl_deliver {
    # ...

    # remove cache-tags header from response sent to client
    unset resp.http.X-Cache-Tags;

    # ...
}
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance64

Regular maintenance activity

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~172 days

Recently: every ~215 days

Total

6

Last Release

327d ago

Major Versions

3.1.0 → 4.0.02023-02-14

4.0.2 → 5.0.02023-07-31

5.0.0 → 6.0.02025-06-25

PHP version history (3 changes)3.1.0PHP ^7.2

4.0.0PHP ^7.4 || ^8.0 || ^8.1

5.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/667b5107f4c2ea180baa00166c2ee3f2a1b412ce22768d6e81bb09323d1c7fe0?d=identicon)[netlogix](/maintainers/netlogix)

![](https://www.gravatar.com/avatar/124704a0d41c6364ac5773df0c9bedc3a85f902f0826df5f12ff2a4b2a06d520?d=identicon)[paxuclus](/maintainers/paxuclus)

![](https://www.gravatar.com/avatar/2492899d51c61e47bd5a782df61c04dcb10628cf90a187efb3a02c3e9bd5ba8e?d=identicon)[tweis](/maintainers/tweis)

---

Top Contributors

[![saschanowak](https://avatars.githubusercontent.com/u/1643495?v=4)](https://github.com/saschanowak "saschanowak (21 commits)")[![phroust](https://avatars.githubusercontent.com/u/4057645?v=4)](https://github.com/phroust "phroust (19 commits)")[![MoritzEckert](https://avatars.githubusercontent.com/u/129366476?v=4)](https://github.com/MoritzEckert "MoritzEckert (13 commits)")[![tweis](https://avatars.githubusercontent.com/u/63323?v=4)](https://github.com/tweis "tweis (3 commits)")

---

Tags

phptypo3varnish

### Embed Badge

![Health badge](/badges/netlogix-nxvarnish/health.svg)

```
[![Health](https://phpackages.com/badges/netlogix-nxvarnish/health.svg)](https://phpackages.com/packages/netlogix-nxvarnish)
```

###  Alternatives

[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

33584.6k13](/packages/brotkrueml-schema)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[b13/assetcollector

Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10118.4k](/packages/b13-assetcollector)[mautic/mautic-typo3

Add-on TYPO3 extension that enhances the "EXT:marketing\_automation" TYPO3 extension by connecting it to the Mautic Marketing Automation platform: Determine "Persona" from Mautic segments. Also provides additional services e.g. language synchronisation between Mautic and TYPO3.

236.3k](/packages/mautic-mautic-typo3)

PHPackages © 2026

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