dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.59k stars 10.06k forks source link

Cache manifest.webmanifest in PWA #54953

Open tomasz-soltysik opened 8 months ago

tomasz-soltysik commented 8 months ago

Is there an existing issue for this?

Describe the bug

After file extension change done in #43756, Web Manifest is no longer added to offline cache. Prior to this change it had json extension which is included.

Expected Behavior

Web Manifest should be added to offline cache by default service worker implementation.

Steps To Reproduce

Exceptions (if any)

No response

.NET Version

No response

Anything else?

Adding /\.webmanifest$/ to offlineAssetsInclude in service-worker.published.js should fix this.

shethaadit commented 2 days ago

Hi @mkArtakMSFT, I will work on this and raise PR soon. Could you please assign this issue to me? :)