You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While https://developers.google.com/web/tools/workbox/ is great for more complex setups, many users don't actually need the features Workbox has, which makes the added complexity of using Workbox not very worth it.
For example, our only negative review right now on the VSCode Extension is actually talking about Workbox issues, not PWA Studio issues.
Do you have an implementation or a solution in mind?
We should write a plain Service Worker, using plain JavaScript, that is the default Service Worker that users can generate. This plain Service Worker should serve as a good "base" for users to build off of. This plain Service Worker should:
Cache Images
Cache Fonts
if those types of assets are requested.
We should then have an advanced option that uses our current Workbox flow.
Have you considered any alternatives?
No response
The text was updated successfully, but these errors were encountered:
jgw96
changed the title
[VSCODE] Service Workers should be greatly simplified
[VSCODE / Starter] Service Workers should be greatly simplified
Jun 2, 2022
I think this makes tons of sense! It would also eliminate the "why is there no service worker from generation process" question. I always wanted to learn the bare bone (simplest) way of starting any project. And have the freedom to learn more if I wanted a rather complex configuration.
Tell us about your feature idea
While https://developers.google.com/web/tools/workbox/ is great for more complex setups, many users don't actually need the features Workbox has, which makes the added complexity of using Workbox not very worth it.
For example, our only negative review right now on the VSCode Extension is actually talking about Workbox issues, not PWA Studio issues.
Do you have an implementation or a solution in mind?
We should write a plain Service Worker, using plain JavaScript, that is the default Service Worker that users can generate. This plain Service Worker should serve as a good "base" for users to build off of. This plain Service Worker should:
if those types of assets are requested.
We should then have an advanced option that uses our current Workbox flow.
Have you considered any alternatives?
No response
The text was updated successfully, but these errors were encountered: