Prevent caching of old JS files
Open
- Dominant language
- Python
- Stars
- 7
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Either disable cache headers entirely (the JS file is not too big) or use the 'chunkhash' functionality of webpack to force the use of new JS files when they are available
Contributor guide
Research direction
Start by locating the webpack configuration and the response handling for generated JS files. Compare the two proposed cache-busting approaches and verify the chosen behavior by checking that a new deployment causes clients to load the new JS files rather than cached old ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100