Skip to main content
Drupal is a registered trademark of Dries Buytaert
EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.3 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.2 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.1 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.5 has reached end of life and no longer receives security updates. Release: Country 2.2.0 Minor update available for module country (2.2.0). Usage Milestone: jQuery UI Datepicker Module jquery_ui_datepicker crossed 1,000 active installs. Release: Flags 2.1.0 Minor update available for module flags (2.1.0). Release: Login Disable 2.2.0 Minor update available for module login_disable (2.2.0).

Asset cache bust

56 sites Security covered Drupal 10–11
View on drupal.org

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.

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
4 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

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