Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

Yes, the problem is about add offline support for ssr pages where content is dynamic, I have a pr to add support, but I decide to keep it on the...

You can use the offline page to do what you want, tha page can be complex, my suggestion is about using the same ssr page to load that data when...

You can also use a client middleware to redirect to a client only page when offline detected, ofc if the user using the browser addressbar that middleware wont run...

You should think in only 1 solution, client only in your case wont be the besti approach, you need to use the sw to solve the problem once. With my...

Loading the data from idb doesn't matter here, just an implementation detail.

Yes, it works because the sw will intercept the network call and will respond with the app, once mounted the middlware can run.

Add the redirection to / when error, you need the runtime caching

Uhmmm, weird. Do you have some redirection in the app?

Check injectManifest options, there is an option to allow see workbox modules tracing, enable it you will see some logs mesaages in the browser

Did you prerender / route? Check if the sw is installed.