-
Notifications
You must be signed in to change notification settings - Fork 388
handleFetch not working #350
Comments
Can you try removing the output service worker and then regenerate ? |
By the way, if you are starting out, then you should try Workbox |
@mbj36 - The reason I am choosing the sw-precache over Workbox is because I am using service workers with the CRA build. I believe that is configured using sw-precache? |
@mbj36 - By removing the output service worker, I assume you mean remove the swFilePath from the config file? If so, no that does not work. I get the same output as before. |
I am facing the same issue. I have just started with CRA and PWA and sw-preache (as @redixhumayun stated) is the best option to customize CRA auto generated service worker. |
I really hope this project will continue. Workbox is a kitchen-sink with everything in it, sw-precache creates a self-contained script of 11kB before minimizing for me. |
My sw-precache-config file is listed as below
I am using the template file provided in the src code locally.
Even with the handleFetch flag set to false, I am still seeing the fetch event listener being added to the output service worker.
The text was updated successfully, but these errors were encountered: