2

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

suraj
  • 432
  • 5
  • 19

1 Answers1

0

The function works fine . There seems to be an issue with latest edge dev tools . They sometimes show data even after deletion .

suraj
  • 432
  • 5
  • 19