PHPackages                             flowpack/varnish - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. flowpack/varnish

ActiveNeos-package[HTTP &amp; Networking](/categories/http)

flowpack/varnish
================

Varnish integration for Neos

6.0.0(1y ago)2052.9k↓17.4%16[3 issues](https://github.com/Flowpack/varnish/issues)MITPHP

Since Apr 16Pushed 1y ago11 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (49)Used By (0)

Varnish
=======

[](#varnish)

[![Build Status](https://camo.githubusercontent.com/ac46adc37c753ad9b2551927ef9f37d22cf48dc20b87bb46e3554127c4b043b5/68747470733a2f2f7472617669732d63692e636f6d2f466c6f777061636b2f5661726e6973682e7376673f6272616e63683d6d61696e)](https://travis-ci.com/github/Flowpack/varnish)[![Latest Stable Version](https://camo.githubusercontent.com/119a1f7cf845a95ec4313a6d4269dbeb1466f742d07fe8fc2a77a42fc0e20883/68747470733a2f2f706f7365722e707567782e6f72672f666c6f777061636b2f7661726e6973682f762f737461626c65)](https://packagist.org/packages/flowpack/varnish)[![Total Downloads](https://camo.githubusercontent.com/3c3fcbbf3a256579658867f3be4fcac2f8cf97edb8cf1c7e0903413d30a777a0/68747470733a2f2f706f7365722e707567782e6f72672f666c6f777061636b2f7661726e6973682f646f776e6c6f616473)](https://packagist.org/packages/flowpack/varnish)[![License](https://camo.githubusercontent.com/c0b896bd11014c387c55ae8d4b0c4e5f007c4bf4b001e47422914d541e1829f8/68747470733a2f2f706f7365722e707567782e6f72672f666c6f777061636b2f7661726e6973682f6c6963656e7365)](https://packagist.org/packages/flowpack/varnish)

Introduction
------------

[](#introduction)

This package provides an out-of-the-box seamless integration between Varnish and Neos. It basically makes Neos send `Cache-Control` headers and `BAN` requests to Varnish for all document nodes.

### Installation

[](#installation)

You can install the package as usual with composer:

```
composer require flowpack/varnish
```

When installed, Neos sends headers for cache lifetime and cache invalidation requests.

Compatible with Neos 7.x+

Documentation
-------------

[](#documentation)

For more information, see [the documentation](Documentation/Index.rst)

Thanks
------

[](#thanks)

This package was originally developed at MOC A/S, published as MOC.Varnish and eventually moved to the Flowpack namespace. You find previous PRs and issues [there](https://github.com/mocdk/MOC.Varnish).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance43

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity76

Established project with proven stability

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

Recently: every ~239 days

Total

48

Last Release

406d ago

Major Versions

2.2.0 → 3.0.02017-03-20

3.1.0 → 4.0.0-alpha12020-04-02

4.1.0 → 5.0.02021-01-14

4.0.x-dev → 5.1.02021-08-17

5.1.x-dev → 6.0.02025-04-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d49a6af82b72d2764774a05c307808375016d7aeaaef3862472a6580ff38a7?d=identicon)[flowpack](/maintainers/flowpack)

---

Top Contributors

[![aertmann](https://avatars.githubusercontent.com/u/903567?v=4)](https://github.com/aertmann "aertmann (126 commits)")[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (112 commits)")[![paxuclus](https://avatars.githubusercontent.com/u/15905038?v=4)](https://github.com/paxuclus "paxuclus (22 commits)")[![hlubek](https://avatars.githubusercontent.com/u/33351?v=4)](https://github.com/hlubek "hlubek (20 commits)")[![dlubitz](https://avatars.githubusercontent.com/u/13046100?v=4)](https://github.com/dlubitz "dlubitz (5 commits)")[![Baachi](https://avatars.githubusercontent.com/u/833645?v=4)](https://github.com/Baachi "Baachi (3 commits)")[![johannessteu](https://avatars.githubusercontent.com/u/769789?v=4)](https://github.com/johannessteu "johannessteu (2 commits)")[![crydotsnake](https://avatars.githubusercontent.com/u/39345336?v=4)](https://github.com/crydotsnake "crydotsnake (2 commits)")[![Nikdro](https://avatars.githubusercontent.com/u/9807101?v=4)](https://github.com/Nikdro "Nikdro (2 commits)")[![RobinLawinsky](https://avatars.githubusercontent.com/u/49674116?v=4)](https://github.com/RobinLawinsky "RobinLawinsky (2 commits)")[![peterbucher](https://avatars.githubusercontent.com/u/1229021?v=4)](https://github.com/peterbucher "peterbucher (1 commits)")[![visay](https://avatars.githubusercontent.com/u/679819?v=4)](https://github.com/visay "visay (1 commits)")[![snoblucha](https://avatars.githubusercontent.com/u/265586?v=4)](https://github.com/snoblucha "snoblucha (1 commits)")[![christophlehmann](https://avatars.githubusercontent.com/u/4953689?v=4)](https://github.com/christophlehmann "christophlehmann (1 commits)")

---

Tags

neoscmshttpproxycachingflowNeosvarnishpurgeinvalidation

### Embed Badge

![Health badge](/badges/flowpack-varnish/health.svg)

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

###  Alternatives

[friendsofsymfony/http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

43813.2M47](/packages/friendsofsymfony-http-cache-bundle)[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[sofascore/purgatory-bundle

A Symfony bundle for HTTP cache invalidation with support for various backends like Varnish.

11665.0k](/packages/sofascore-purgatory-bundle)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48819.2M541](/packages/nette-http)[clue/http-proxy-react

Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP

472.3M33](/packages/clue-http-proxy-react)[zounar/php-proxy

Forward your HTTP/HTTPS requests to another server.

1814.0k](/packages/zounar-php-proxy)

PHPackages © 2026

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