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.
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+
For more information, see the documentation
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.