Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-8017 - Enable Cache Busting via Content Hash in Frontend #3395

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

uidp
Copy link
Contributor

@uidp uidp commented Sep 4, 2024

Short Description

In order to make sure that frontend application code is reloaded in the user's browser when it has been changed we want to enable Cache Busting.
Webpack builds can be configured to write a content hash in the generated file names during build. When the conten has been updated the hash will change and the browser is forced to reload the file.

https://webpack.js.org/guides/caching/

Links to Ticket and related Pull-Requests

BC-8017

Changes

Data-security

Deployment

New Repos, NPM packages or vendor scripts

Screenshots of UI changes

Checklist before merging

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • PO: Any deviation from requirements was agreed with Product-Owner / ticket author / support-team
  • DEV: Every new component is implemented having accessibility in mind (e.g. aria-label, role property)

Notice: Please keep this Pull-Request as a Draft (or add WIP label), until it is ready to be reviewed

Copy link

sonarcloud bot commented Sep 4, 2024

@uidp uidp merged commit c495d68 into main Sep 5, 2024
71 checks passed
@uidp uidp deleted the BC-8017-cache-busting branch September 5, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants