Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Generate hashed javascript bundles #2142

Open
lordrip opened this issue Jul 13, 2023 · 0 comments
Open

Generate hashed javascript bundles #2142

lordrip opened this issue Jul 13, 2023 · 0 comments
Labels
chore Tests, CI/CD, general maintenance good first issue Good for newcomers

Comments

@lordrip
Copy link
Member

lordrip commented Jul 13, 2023

Please describe the task that needs to be done

Description

The result artifacts after building the UI are a named bundle (main.js) and numbered bundles. This brings the risk of those assets being cached and causing strange behaviors not easily reproducible for users of the application.

This could be remediated by not caching any js file but then we would be missing the caching mechanism for other bundles like the Monaco editor.

image

Goal

Change the way how the artifacts are built to always output a hash in order to make them cacheable by the browser per version.

Webpack related topic

@lordrip lordrip added the chore Tests, CI/CD, general maintenance label Jul 13, 2023
@lordrip lordrip added the good first issue Good for newcomers label Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chore Tests, CI/CD, general maintenance good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant