rel=preload for no-cache resources
Categories
(Core :: DOM: Networking, enhancement, P1)
Tracking
()
Performance Impact | high |
People
(Reporter: dragana, Assigned: michal)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-needed, perf:pageload, Whiteboard: [webcompat][necko-triaged])
Attachments
(7 files, 16 obsolete files)
789.88 KB,
patch
|
dragana
:
review+
|
Details | Diff | Splinter Review |
3.45 KB,
patch
|
dragana
:
review+
|
Details | Diff | Splinter Review |
25.50 KB,
patch
|
dragana
:
review+
|
Details | Diff | Splinter Review |
7.20 KB,
patch
|
dragana
:
review+
|
Details | Diff | Splinter Review |
58.99 KB,
patch
|
dragana
:
review+
|
Details | Diff | Splinter Review |
100.64 KB,
patch
|
Details | Diff | Splinter Review | |
52.90 KB,
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Reporter | ||
Comment 9•7 years ago
|
||
Reporter | ||
Comment 10•7 years ago
|
||
Reporter | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Reporter | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Reporter | ||
Comment 19•7 years ago
|
||
Reporter | ||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Reporter | ||
Comment 22•7 years ago
|
||
Reporter | ||
Comment 23•7 years ago
|
||
Reporter | ||
Comment 24•7 years ago
|
||
Reporter | ||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 26•7 years ago
|
||
Reporter | ||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Reporter | ||
Comment 29•7 years ago
|
||
Reporter | ||
Comment 30•7 years ago
|
||
Reporter | ||
Comment 31•7 years ago
|
||
Reporter | ||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Reporter | ||
Comment 36•7 years ago
|
||
Reporter | ||
Comment 37•7 years ago
|
||
Reporter | ||
Comment 38•7 years ago
|
||
Comment 39•7 years ago
|
||
Reporter | ||
Comment 40•7 years ago
|
||
Comment 41•7 years ago
|
||
Reporter | ||
Comment 42•7 years ago
|
||
Comment 43•7 years ago
|
||
Reporter | ||
Comment 44•7 years ago
|
||
Reporter | ||
Comment 45•7 years ago
|
||
Comment 46•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 47•7 years ago
|
||
Reporter | ||
Comment 48•7 years ago
|
||
Reporter | ||
Comment 50•7 years ago
|
||
Reporter | ||
Comment 51•7 years ago
|
||
Comment 52•7 years ago
|
||
Comment 53•7 years ago
|
||
Comment 54•7 years ago
|
||
Reporter | ||
Comment 55•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 56•7 years ago
|
||
Reporter | ||
Comment 57•7 years ago
|
||
Reporter | ||
Comment 58•7 years ago
|
||
Reporter | ||
Comment 60•7 years ago
|
||
Reporter | ||
Comment 61•7 years ago
|
||
Reporter | ||
Comment 62•7 years ago
|
||
Comment 64•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 65•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Comment 66•6 years ago
|
||
Is there someone still working on this? Literally every browser beside Firefox supports this since IOS added support in March 2018: CanIUse (I mean even both, Edge and Safari, that's rare!)
There are also a bunch of tools out there, automatically taking care of adding it (e.g. webpack code splitting), so I expect lot of websites to have/get it.
Updated•6 years ago
|
Comment 67•6 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:dragana, could you have a look please?
Reporter | ||
Comment 68•6 years ago
|
||
We have decided to take a different approach to this feature. This patches will never land.
Updated•6 years ago
|
Comment 69•6 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Comment 70•6 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 71•6 years ago
|
||
We have decided to take a different approach to this feature. This patches will never land.
What is the current timeline for enabling rel=preload by default in Firefox? Facebook.com would love to be use it in all browsers in our upcoming Facebook.com redesign.
Reporter | ||
Comment 72•6 years ago
|
||
(In reply to Vladan Djeric (:vladan) from comment #71)
We have decided to take a different approach to this feature. This patches will never land.
What is the current timeline for enabling rel=preload by default in Firefox? Facebook.com would love to be use it in all browsers in our upcoming Facebook.com redesign.
As I already wrote in a e-mail, currently I do not have a timeline yet.
(Note: we may reuse patches from this bug and the same approach)
Reporter | ||
Updated•6 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 73•5 years ago
|
||
On SUMO, the issue came up that developers may not realize their stylesheets are not loaded at all in Firefox if they use this pattern:
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="/my.css">
Is there a way to fail more elegantly while this bug is in progress?
For example, would it safe to treat
<link rel="preload" as="style" ... >
as
<link rel="stylesheet" ... >
or would that potentially lead to unintended consequences?
Comment 74•5 years ago
|
||
(In reply to jscher2000 from comment #73)
or would that potentially lead to unintended consequences?
More than likely, if you don't detect that particular pattern. But if you have some links it'd be good to file another bug to track the interop issues.
Comment 75•5 years ago
|
||
The Webcompat issue I added two days ago has this pattern
<link
rel="preload"
href="/css/app.css?id=5c753eb5992ec4b2b670"
as="style"
onload="this.onload=null;this.rel='stylesheet'">
which is yet another variation.
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 76•5 years ago
|
||
Assignee | ||
Comment 77•5 years ago
|
||
Comment 78•5 years ago
|
||
I noticed this hack (including "rel" twice) works though:
<link rel="preload" rel="stylesheet" href="style.css" as="style">
Updated•5 years ago
|
Comment 79•5 years ago
|
||
This will soon be WONTFIX with the new approach in bug 1594449.
Comment 81•5 years ago
|
||
As the new approach in bug 1594449 proves itself, we will no longer support the current approach. We would need a good fix for bug 1393540 anyway to have the old and the new approach comparable, which collides with bug 1594449 in all ways.
WONTFIXing.
Updated•3 years ago
|
Description
•