Open Bug 1969396 (speculation-rules-prefetch) Opened 1 year ago Updated 1 day ago

[meta] Implement Speculation Rules – Prefetch (Same-origin)

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

Size Estimate XL

People

(Reporter: smayya, Unassigned)

References

(Depends on 9 open bugs, )

Details

(Keywords: meta, Whiteboard: [necko-triaged][platform-feature][webcompat:risk-low])

User Story

web-feature: speculation-rules

The meta bug tracks implementation of prefetch part of speculation rules API.
Speculation Rules API Specification
Mozilla's Speculation Rules Strategy

Severity: N/A → S3
Whiteboard: [necko-triaged]
See Also: → 1969838

Capturing some of the Chromium changes and issues that Mateusz bumped into in the hopes that we can avoid problems :)


Speculation Rules cache the non-cacheable responses:


Issues:
TTFB and other resource timing entries incorrect for speculation rules prefetches
Removing a link that is being speculatively loaded causes the request to hang forever
Speculation Rules Prefetch cache is used for POST requests

Let us know if you need any more info on any of those.

BTW here's another good talk on it (and Tim also ran into that last bug too):
https://slideslive.com/39043167/one-step-ahead

Size Estimate: --- → XL
Depends on: 1527334
User Story: (updated)
Whiteboard: [necko-triaged] → [necko-triaged][platform-featue][webcompat:risk-low]

It feels like implementing the 'execute on mousedown' part of the conservative eagerness is probably the highest priority and most important portion of this.

Depends on: 2001151
Depends on: 2005353
Depends on: 2007155
Whiteboard: [necko-triaged][platform-featue][webcompat:risk-low] → [necko-triaged][platform-feature][webcompat:risk-low]
Depends on: 2020702
Depends on: 2036764
Depends on: 2037091
Summary: [meta] Implement Speculation Rules – Prefetch → [meta] Implement Speculation Rules – Prefetch (Same-origin)
No longer depends on: 2037091
Summary: [meta] Implement Speculation Rules – Prefetch (Same-origin) → [meta] Implement Speculation Rules – Prefetch (Same-origin) Necko Part
Summary: [meta] Implement Speculation Rules – Prefetch (Same-origin) Necko Part → [meta] Implement Speculation Rules – Prefetch (Same-origin)
Depends on: 2037091
Depends on: 2037321
Depends on: 2037256
Depends on: 2045809
Depends on: 2045810
You need to log in before you can comment on or make changes to this bug.