Purge File
2,231 sites
Security covered
This module invalidates the cache for files when they are updated or deleted, ensuring that outdated file versions are not served. This is particularly helpful for sites that replace files using the same URL and utilize external caching systems like Varnish.
This module purges the URLs of files through the Purge module. The purge is done when the files are either updated or deleted. This functionality is useful when your site allows replacing files maintaining the same URL and is using an external cache for anonymous users like Varnish or Acquia purge.
How to use
First, ensure that your site:
- Have enabled the purge module.
- Have at least one purger enabled that supports URLs.
- Have at least one purge processor enabled.
Then, go to 'Configuration > Development > Performance > Purge file' and set the purge processor that you want to be used, depending on your site requirements: