diff --git a/app/sw.ts b/app/sw.ts index 4325f23..60b6ce1 100644 --- a/app/sw.ts +++ b/app/sw.ts @@ -14,7 +14,7 @@ const serwist = new Serwist({ skipWaiting: true, clientsClaim: true, navigationPreload: true, - runtimeCaching: [ + runtimeCaching: process.env.NODE_ENV === 'development' ? [] : [ { matcher: ({ request }) => request.destination === "style", handler: new StaleWhileRevalidate(),