Open
Bug 2097826
Opened 3 days ago
Updated 2 days ago
Speculation rules prefetch makes links that redirect to a no-store page load slower than with prefetch disabled
Categories
(Core :: Networking, defect, P3)
Core
Networking
Tracking
()
NEW
People
(Reporter: acreskey, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged] )
When a prefetch follows a redirect to a no-store page, the navigation waits for the prefetch, then fetches the page again (PrefetchRecordParent::CacheEntryURI returns nothing for a redirect chain).
With speculation rules the click can be 600+ ms slower than without them.
Chrome serves these from the prefetch.
Time from click to first byte:
| Link | Firefox, prefetch off | Firefox, prefetch on | Chrome (from prefetch) |
|---|---|---|---|
vice.com "Music" (/en/section/music → /en/section/music/) |
613 ms | 1297 ms (+684) | 869 ms |
hackaday.com "Blog" (/blog → /blog/) |
391 ms | 748 ms (+357) | 329 ms |
Redirects to cacheable pages are served correctly.
| Reporter | ||
Updated•3 days ago
|
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
| Reporter | ||
Updated•3 days ago
|
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•