Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Varnish File Purge

156 sites No security coverage
View on drupal.org

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.

Activity

Total releases
2
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Slowing

Releases

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