Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Asset cache bust

Security covered Maintenance fixes only 60 sites

This module provides a fallback solution for broken CSS or JavaScript aggregates by automatically adding a unique query string parameter to asset files. This forces browsers to request fresh copies of these files, preventing issues caused by cached, incomplete aggregates without requiring a full cache clear or code deployment.

User story

Once in a long while we get an imcomplete CSS or JS aggregate. We dont know why. The aggregate can be regenerated but browsers may have cached the incomplete file and all future visits are broken until browser cache expires. The long way to remedy this is to deploy a change to the site's CSS or JS. The deployment-free way to do is to merely flush caches, when you are using this module.

Implementation

Overrides CSSCollectionRenderer and JsCollectionRenderer services, effectively undoing the change from https://www.drupal.org/project/drupal/issues/3019393. This module Always appends a querystring param whose value changes with each cache clear.

Drupal 10–11

Ask your assistant about Asset cache bust

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
2
Tracked since
Nov 2024
Latest release
5 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.6 Stable 10–11 Apr 15, 2026
1.0.5 Stable 8–11 Nov 15, 2024