Skip to content

Debug disable http cache - #2656

Open
malezjaa wants to merge 2 commits into
rust-lang:mainfrom
malezjaa:debug-disable-http-cache
Open

malezjaa wants to merge 2 commits into
rust-lang:mainfrom
malezjaa:debug-disable-http-cache

Conversation

@malezjaa

Copy link
Copy Markdown
Contributor

So I had two problems when trying to make some css changes, first it wouldn't show these changes unless I hard reloaded and second when I applied the first commit (disabling caching for static assets on debug) it still wouldn't show my changes, because npm run watch doesn't generate .br bundles, which the server prefers. So if I had run npm run build first, which would generate the .br bundles, then made some changes while npm run watch was running then I wouldn't be able to see anything, because the server would just send the stale .br bundle. I'm not sure if anyone has also experienced this, but this fixes my issue.

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.

1 participant