-
Is there an existing issue for this?
Describe the bugI converted existing Blazor WASM app to PWA and deployed as static page to cloudflare pages. On the first visit it works fine but every other visit with app already cached I get this in console Repo: App: My main focus is to have this app working offline. Thank you. Expected BehaviorTo work even on repeat visit and most important to work offline. Steps To ReproduceDeploy the PWA app to cloudflare static pages Exceptions (if any)No response .NET Version8.0 Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi. It looks like this is a question about how to use ASP.NET Core. While we do our best to look through all the issues filed here, we are not a general-purpose forum. To get a faster response we suggest posting your questions to StackOverflow using the blazor tag. |
Beta Was this translation helpful? Give feedback.
-
@Laftek Do you know what the source of the redirect is for the initial request? |
Beta Was this translation helpful? Give feedback.
Hi @danroth27 , thanks for reaching out. I am not sure what you mean completely but I was able to fix it thanks to one guy here on github (cannot find that issue again to give him a credit) but basically the problem is with catching so I just added few lines to service worker to give new response if its redirected.
PS:
found the guy andreimilto -> #33872 Thanks!