Use Rollup for adding a hash to output filenames

Created on 22 July 2025, 24 days ago

Overview

In ๐Ÿ› Provide cache buster query string on imports Active , we ensured browser cache busting when there's a new release of XB.
However, that would bust the browser cache even if there aren't any UI changes in that release.

Proposed resolution

In #4 and #9 Bรกlint and Lee proposed having Vite/Rollup output filenames with a hash in them. That would allow us to do releases with backend-only changes where we don't force re-downloading unchanged JavaScript assets.

See https://rollupjs.org/configuration-options/#output-entryfilenames

User interface changes

None.

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

โ€ฆย to be triaged

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

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

Comments & Activities

Production build 0.71.5 2024