angular-cn/goldens/public-api/service-worker
Sonu Kapoor 036a2faf02 feat(service-worker): add `UnrecoverableStateError` (#36847)
In several occasions it has been observed when the browser has evicted
eagerly cached assets from the cache and which can also not be found on the
server anymore. This can lead to broken state where only parts of the application
will load and others will fail.

This commit fixes this issue by checking for the missing asset in the cache
and on the server. If this condition is true, the broken client will be
notified about the current state through the `UnrecoverableStateError`.

Closes #36539

PR Close #36847
2020-08-31 11:41:11 -07:00
..
config feat(service-worker): include `CacheQueryOptions` options in ngsw-config (#34663) 2020-05-01 09:44:07 -07:00
service-worker.d.ts feat(service-worker): add `UnrecoverableStateError` (#36847) 2020-08-31 11:41:11 -07:00