Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Varnish File Purge

No security coverage Under active development 156 sites

Part of the Varnish ecosystem · 6 projects

This module ensures that Varnish correctly purges cached files when they are updated or replaced, especially in multi-domain Varnish setups. It resolves issues where older files might be served after updates by directly managing file purges for Varnish.

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.

Drupal 10–11

Ask your assistant about Varnish File Purge

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Sep 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.1.4 Stable 10–11 Jun 4, 2025
1.1.3 Stable 10–11 Jan 27, 2025
1.1.2 Stable 10–11 Nov 4, 2024
1.1.1 Stable 10–11 PHP 8.1 Sep 6, 2024
1.1.0 Stable 10–11 PHP 8.1 Sep 5, 2024
1.0.0 Stable 10–11 PHP 8.1 Sep 3, 2024
1.0.x-dev Dev 10–11 PHP 8.3 Sep 3, 2024