dssg / dssg/matching-tool

Prevent caching of old JS files

Open
#255 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.