I was trying to delete caches using this code
async function test () {
cacheKeys = await caches.keys();
cacheKeys.map(async cacheKey => {
caches.delete(cacheKey);
await deleteIndexedDBDatabase(cacheKey);
});
}
The code works fine in chrome but not in edge. It is not even throwing an error Has anyone resolved similar issue