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

Legacy website scripts are not properly cache-busted (or bundled) #795

Open
luxaritas opened this issue Aug 9, 2024 · 0 comments
Open
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact size: md type: bug Something isn't working

Comments

@luxaritas
Copy link
Member

Expected Behavior

If we make a change to eg the coffeescript, the new script should be used

Current Behavior

The old version of the script will be used until the cache expires

Reproduction Steps

Make a change -> load with cache leaders -> old version still used

Environment

No response

Other information

We should probably:

  • Not bother keeping the website stuff as coffeescript, and just compile it
  • Instead of loading each script/asset manually in the HTML, either create a new entry point that we should load which pulls in everything or directly import into our existing entry point
  • Update the script interface on the website to grab the manifest and figure out which scripts to embed from there (this interacts with Refactor/extract scripting api #749)
@luxaritas luxaritas added type: bug Something isn't working pending triage priority: p3/standard Enhancement with nominal value or bug with nominal impact size: md and removed pending triage labels Aug 9, 2024
@luxaritas luxaritas added this to Roadmap Aug 9, 2024
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact size: md type: bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant