cloudscribe / pwakit

aiming to provide tools to facilitate building PWAs (Progressive Web Apps) with ASP.NET Core
Apache License 2.0
10 stars 0 forks source link

Reverse the declaration order of the PWA Precaching strategy and the NetworkOnly strategy #54

Open JimKerslake opened 1 year ago

JimKerslake commented 1 year ago

Tentatively we think that the specific Precaching ought to get declared first ahead of NetworkOnly, since the latter may implement a more general rule.

Whichever strategy in the chain of declarations matches any given URL first - wins. And Precached assets always get a CacheFirst strategy.