I’m running my React web app locally on Docker. But lately, I’ve noticed that the page that renders on localhost is an older cached version of the site.
I also noticed an error that follows:
The resource <file i use> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value as it is preloaded intentionally.
I’m not sure what to make of this situation. I’ve tried the following:
- compose down running containers and build back up
npm buildmy app over again
- docker system prune -a all images and containers and re-build them from scratch
- factory reset my docker desktop and try again
- tried using another browser (Microsoft Edge) to see if the issue repros (which it does).
Note: i am running Docker Desktop on my Windows 10 desktop machine.
Any help much appreciated, thanks!