Allow fixing corrupt CSS / JS issues without waiting for Browser cache to expire

Created on 7 June 2022, over 2 years ago
Updated 4 December 2023, 9 months ago

Compressed CSS and JS are cached in browsers for 4 hours. This is a problem when we want the scripts to be updated without changing the file name (basically without code release as the compressed file names are based on the libraries loaded on the page and content inside it so even if we clear caches the filenames usually don't change).

Drupal CORE by defaults adds a query string (State variable system.css_js_query_string) which is changed after every drush cr to fix cache problem but it doesn't add this query string for compressed version.

Feature request
Status

Active

Version

11.0 🔥

Component
Asset library 

Last updated 1 day ago

No maintainer
Created by

🇮🇳India Prabhat Burnwal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024