DEV Community

Discussion on: Cache Busting a React App

Collapse
 
nicks78 profile image
Nicolas

Hi Dinesh,

Good work.

I am having an issue when the metal.json version not match package.json version it goes to infinit loop because the meta.json is not updated.

Any suggestion ?

Thanks

Nic

Collapse
 
flexdinesh profile image
Dinesh Pandiyan

If you could create a sample repo that reproduces the problem I can take a look and see what's happening.

Collapse
 
nicks78 profile image
Nicolas

OK I will try.

I also got this error when i manually refresh the page after new version has been updated in server :

service-worker.js:1 Couldn't serve response for http Error: The cached response that was expected is missing.

Collapse
 
mandrecorrea5 profile image
Marcos Correa

I had a same problem. Is this code ever the versions will differents, the package.json version and meta.json version. In this case, how I update the meta.json version after realoading and cleaning cache?