Provide a way to bust cache on aggregated assets through the web ui

Created on 2 January 2025, 4 months ago

Problem/Motivation

Since 10.1, aggregated asset filenames are generated from the library versions and file contents if no version key is provided. This was a good change for the performance gain and stability, but there are common cases where this can cause issues with caching, especially when using a CDN.

This can occur:

  • On deploying code with updated libraries where the version keys were not updated.
  • If there is a disruption in the aggregation process and a corrupt asset is served. Cache rebuild does not correct since the corrupt version is now cached by the CDN and user browsers. (reported by customer)

Proposed resolution

Provide a way to update the hash used in the name of the generated aggregated assets. On solution would be to provide a configurable string value that is used in generating the hash along with the version keys and file contents.

Feature request
Status

Active

Version

11.0 🔥

Component

asset library system

Created by

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

Comments & Activities

Production build 0.71.5 2024