-
Notifications
You must be signed in to change notification settings - Fork 22
Replace prefetch logic #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace prefetch logic #251
Conversation
camillobruni
commented
Jan 6, 2026
- Completely asyncify the preload logic
- Move all file loading and caching to BrowserFileLoader
- BrowserFileLoader._blobDataCache now holds temporary promises while the data is still loaded
- BrowserFileLoader._loadBlob now does a retry with timeout in-place without the need for a separate global retry
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
kmiller68
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
danleh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally thanks a lot for working on this "evolved" part of the driver, certainly ripe for a simplification.
Just a couple questions before landing.
A/B testing indicates this change caused a 2% score change in Safari. This seems surprising since this was intended to be a purely harness change. Reverting for now to confirm and to investigate the cause. This also reverts "Add resource loading bar (WebKit#246)" and "Improve Benchmark constructor and instance variables (WebKit#255)" as they blocked a clean revert. For posterity, this is tracked internally as rdar://problem/168103740
Replace prefetch logic (#251) is a 2% regression