export const removeHomeCache = async () => {try {const workboxKey = (await caches.keys()).find((key) =>key.startsWith('workbox-precache'),)if (!workboxKey) returnconst workboxCache = await caches.open(workboxKey)const indexKey = (await workboxCache.keys()).find((key) =>key.url.includes('app/index.html'),)if (indexKey) {await workboxCache.delete(indexKey)}} catch (e) {// eslint-disable-next-line no-consoleconsole.error('error reading cache', e)}}