Drupal is a registered trademark of Dries Buytaert

varnish_file_purge

285 sites No security coverage
View on drupal.org

The Varnish file purger is a new Drupal project developed to address compatibility issues between the Varnish Purge and Purge File modules, especially in setups where files are served across multiple domains. In scenarios involving the file_replace module, these existing modules did not effectively handle file purging, leading to stale file caches being served by Varnish.

The Varnish file purger module simplifies the integration, ensuring that file purges work seamlessly across various domains. It directly manages purging of replaced or updated files, making it compatible with multi-domain configurations and solving the setup issues that arise when using Varnish with the file_replace module.

Post-Installation

The module can be configured at /admin/config/development/varnish_file_purge

The following configuration can be added:

  • Varnish connection configurations: Scheme, Host and Port
  • The Purge method: whether to use the BAN or PURGE method (Keep in mind to prepare your vcl for the method selected.
  • The base URL(s) of your website, so the purge happens across every single domain.

Additional Requirements

  • Requires a functional Varnish set-up.

Similar projects

  • The Purge file module allows you to purge files across multiple domains.
  • The Varnish purge
  • allows you to use Varnish as CDN to purge your caches.

Activity

Total releases
2
First release
Jan 2025
Latest release
9 months ago
Release cadence
128 days
Stability
100% stable

Releases

Version Type Release date
1.1.4 Stable Jun 4, 2025
1.1.3 Stable Jan 27, 2025