HTTP responses are cached in the browser
Closed this issue · 1 comments
bartolomej commented
Description
I tried testing the recent changes from #155 with the updated flow-cli version (v0.41.1), but noticed that my local browser cached the fcl-dev-wallet HTTP file responses, which prevented the new changes from being used (notice the "from memory cache" label next to the response status code).
Solution
I think we will need to add the appropriate HTTP cache control headers to the static responses.
bartolomej commented
I found this solution: https://github.com/zenazn/goji/blob/master/web/middleware/nocache.go