added command to get sw cache name

This commit is contained in:
Miodec 2022-01-27 14:23:14 +01:00
parent b8230becc3
commit 5fbff79037

View file

@ -3107,6 +3107,14 @@ export let defaultCommands = {
window.location.reload(true);
},
},
{
id: "getSwCache",
display: "Get SW cache",
icon: "fa-cog",
exec: async () => {
alert(await caches.keys());
},
},
],
};