Menu

#3205 feat(workbox-precaching) Support for concurrent prefetching

open
nobody
None
2026-05-04
2023-05-05
Anonymous
No

Originally created by: C-Hess

Fixes [#2880]

Added the ability to precache requests concurrently. It looks like this used to be a feature in [#2528], but was removed because it had no limits to the number of concurrent connections, resulting in a lack of resources for large sites with hundreds of assets.

This feature is opt-in, and should be non-breaking. Though it looks like this ticket is part of the V7 milestone. It may be possible to just bump a minor version for this.

Let me know if there's anything I missed that you'd like to see. One thing that might be interesting in the future is a dynamic concurrent request feature, where the lack of HTTP/2+ support or browser resource errors results in the throttling of the batch sizes.

Related

Tickets: #2528
Tickets: #2880

Discussion

  • Anonymous

    Anonymous - 2023-05-05

    Originally posted by: google-cla[bot]

    Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

    View this failed invocation of the CLA check for more information.

    For the most up to date status, view the checks section at the bottom of the pull request.

     
  • Anonymous

    Anonymous - 2025-02-21

    Originally posted by: dohomi

    any chance that this open PR gets more attention? Its still an issue on larger SPAs where the reload takes minutes of time until reloading is possible.

     
  • Anonymous

    Anonymous - 2025-04-09

    Originally posted by: dohomi

    @westonruter I would love to hear if there is any chance to get this released otherwise because it is still a major issue for users waiting for the files being pre-cached

     
  • Anonymous

    Anonymous - 2025-04-10

    Originally posted by: westonruter

    @dohomi Sorry, so far I've been focused on getting outdated dependencies updated. I haven't had time to work on new features.

     
  • Anonymous

    Anonymous - 2025-04-11

    Originally posted by: dohomi

    No problem I understand you guys have other priorities. I migrated to https://serwist.pages.dev/ just in case other people also struggle with long delays of precaching. Thanks for the heads up

     

Log in to post a comment.