Hi there,
In the service-worker.tmpl the runtime caching and swToolboxCode variables are not rendered if handleFetch is disabled. Why those should be dependent on each other?
I have created a custom template for my case but I guess this can be more flexible to allow both runtime caching and custom fetch handling.
I banged my head for several hours in complete frustration before realizing what is happening. So I decided to make an issue out of it.
Hi there, In the service-worker.tmpl the runtime caching and swToolboxCode variables are not rendered if handleFetch is disabled. Why those should be dependent on each other? I have created a custom template for my case but I guess this can be more flexible to allow both runtime caching and custom fetch handling. I banged my head for several hours in complete frustration before realizing what is happening. So I decided to make an issue out of it.