diff --git a/src/js/commandline-lists.js b/src/js/commandline-lists.js index f49281d50..3dc8b3d45 100644 --- a/src/js/commandline-lists.js +++ b/src/js/commandline-lists.js @@ -3034,6 +3034,15 @@ export let defaultCommands = { visible: false, subgroup: commandsMonkeyPowerLevel, }, + { + id: "clearSwCache", + display: "Clear SW cache", + icon: "fa-cog", + exec: async () => { + await caches.delete("sw-cache"); + window.location.reload(true); + }, + }, ], };