WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
51940
implement Link: header
https://bugs.webkit.org/show_bug.cgi?id=51940
Summary
implement Link: header
Gavin Peters
Reported
2011-01-05 11:43:52 PST
RFC 5988 re-introduces the Link: header, last seen in RFC 2068 (and not RFC 2616!). The Link header has lots of uses; one less-confusing such use is to use it for rel=prefetch, and rel=subresource allowing server side indication of important resources in advance of a document parse. Implement the link header.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-01-07 12:27:04 PST
I'm wondering what the difference between link=prefetch and link=subresource is. I couldn't find the latter documented anywhere. Is this the same as prefetch, but delaying load event?
Adam Barth
Comment 2
2011-01-07 12:32:55 PST
> I'm wondering what the difference between link=prefetch and link=subresource is. I couldn't find the latter documented anywhere.
I believe prefetch is a low priority load (so it waits until all the other resources for the page are loaded before clogging up the network) whereas subresource is a high priority load that tries to load the resource in time before its needed by the same page.
Gavin Peters
Comment 3
2011-01-13 11:45:05 PST
To be clear about my first comment, I think the initial implementation of the Link header should shy away from rel types that mutate or affect data; so let's stick with rel=prefetch, rel=subresource, rel=dns-prefetch and possibly rel=icon.
Mathias Bynens
Comment 4
2011-05-16 00:41:49 PDT
Test cases:
http://greenbytes.de/tech/tc/httplink/
Pinal
Comment 5
2014-11-24 00:26:48 PST
What is the state of this bug? We have implemented Link header for mobile and I was disappoint why nobody implement it well.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug