angular/packages/service-worker/worker/src
klemenoslaj a2068523fd feat(service-worker): add the option to prefer network for navigation requests (#38565)
This commit introduces a new option for the service worker, called
`navigationRequestStrategy`, which adds the possibility to force the service worker
to always create a network request for navigation requests.
This enables the server redirects while retaining the offline behavior.

Fixes #38194

PR Close #38565
2020-09-22 09:29:20 -07:00
..
adapter.ts refactor(service-worker): use nominal type for normalized URLs (#37922) 2020-07-09 09:44:57 -07:00
api.ts refactor(service-worker): use nominal type for normalized URLs (#37922) 2020-07-09 09:44:57 -07:00
app-version.ts feat(service-worker): add the option to prefer network for navigation requests (#38565) 2020-09-22 09:29:20 -07:00
assets.ts feat(service-worker): add UnrecoverableStateError (#36847) 2020-08-31 11:41:11 -07:00
data.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
database.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
db-cache.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
debug.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
driver.ts feat(service-worker): add UnrecoverableStateError (#36847) 2020-08-31 11:41:11 -07:00
error.ts feat(service-worker): add UnrecoverableStateError (#36847) 2020-08-31 11:41:11 -07:00
idle.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
manifest.ts feat(service-worker): add the option to prefer network for navigation requests (#38565) 2020-09-22 09:29:20 -07:00
msg.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
service-worker.d.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
sha1.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00