writes a simple express + React page, accesses the back-end data, and the React component displays
after publishing, http://localhost:3001/supplies/31001 visit
ip+port json
localhost
IP+port
Why?
writes a simple express + React page, accesses the back-end data, and the React component displays
after publishing, http://localhost:3001/supplies/31001 visit
ip+port json
localhost
IP+port
Why?
is not caused by service-worker 's cache.
Afterservice-worker takes effect, some resources may be forced to be cached, most likely including static resources.
you can disable browser caching or remove service-worker, from the code to force refresh several times to see if this is the reason