Service Worker Returns "bad-precaching-response" category/[slug]
crewstein opened this issue · comments
What I'm trying to achieve
Build & run the project.
Steps to reproduce the problem
- npm run build:start
What I expected to happen
Project to run without errors from service worker.
Screenshots
As seen from the images, it won't pass the slug argument but I honestly don't see why since other pages are built and run properly.
Hi! Could you tell me how you solved this?
@thisispatso Hi! Could you share the solution how do you solved this issue?
Hi, to be fair I cannot fully remember but I think that this was happening due to running the service worker within the dev environment. Try disabling it while developing and only enable it on prod.