#Can the Angular Service Worker be Configured to Download Multiple Files in Parallel?

1 messages · Page 1 of 1 (latest)

void pond
#

also, does registerImmediately is triggered when the browser is in idle state?

vivid robin
#

Downloading in parallel for assets is currently sadly not possible.

void pond
#

Why not? It's not possible to develop? Or is it because there isn't a requirement?

vivid robin
# void pond Why not? It's not possible to develop? Or is it because there isn't a requiremen...

Because it’s not in the current code base of angular, that’s why it’s currently not possible.

It seems to be a low priority issue for the team responsible for the service worker logic in angular since there has been an open issue for this for quite some time and there is a PR open to implement this logic

Issue: https://github.com/angular/angular/issues/39491

PR: https://github.com/angular/angular/pull/50087

GitHub

🚀 feature request Relevant Package This feature request is for @angular/service-worker. Description The Angular Service Worker currently prefetches a new version assets one by one, as mentioned in ...

GitHub

Resources defined in assets groups are fetched in parallel to improve performance
Fixes #39491
PR Type
What kind of change does this PR introduce?

Bugfix
Feature
Code style update (formatting,...