DEV Community

Discussion on: Cache Busting a React App

Collapse
 
sumanyusoniwal profile image
sumanyu-soniwal • Edited

Amazing article. Worked like a charm.

caches.keys().then(async function(names) {
await Promise.all(names.map(name => caches.delete(name)));
});

This helped in the extension of the entire article. Thanks a lot, Dinesh.