Access Varnish Cache management
Configuration page
Manual purge page
Block ESI settings
Deflate cache page

DESCRIPTION:
This module provides integration with the Varnish reverse proxy server for Drupal 8. The main feature of this module is providing support for varnish caching for authenticated users.

MAIN FEATURES:
Varnish support out of the box.
All you need is to install this module use default.vcl from this module. The module has a built-in cache purger that can be used to clear the Varnish cache.

Cache for anonymous users.
Just set the desired TTL in varnish settings and it will work, cache invalidation will happen automatically and depends on the new Drupal 8/9 cache system with tags support.

Cache for authenticated users.
The same as for anonymous users just fill the TTL and Varnish will start to cache pages for authenticated users based on a PER-ROLE option. We all know that a page for authenticated users can contain user-specific content and we care about this. For each user-specific block, you can choose to use ESI cache on a PER-ROLE or PER-USER basis so each user will get proper content on the page.

Per Node Type Cache settings.
You can select TTL on per node (bundle) settings. This module supports basic entity types out of the box (node and taxonomy terms).

Cache invalidation.
We use tags to control each page state, so if any entity which presents on-page would be changed in Drupal, cache in Varnish would be invalidated immediately. Module support Drupal 8 cache system and use all available cache metadata so you can easily add required tags for any page that you want.

Automatic deflate process.
User can initiate deflate process which will invalidate the Varnish cache carefully, you can select amount of cached info should be cleared per cron run. So, in this case, you can avoid full varnish cache clear at once and manage server load more accurate.

For those who are still on 8.x-2.x.
There were a lot of major changes between 2.x and 3.x branches. Consider making a full regression testing when migrating to a new version. The recommended VCL file also should be checked carefully. There won't be any new development for 2.x version and no Drupal 9 support planned for that version.

Project information

Releases