Summary
- RFC 8288, October 2017, Standards Track, defines a model for relationships between web resources and the serialisation of those relationships in the
Linkheader field. - A link is a sentence: "link context has a link relation type resource at link target, which has target attributes", and the document's own example is a
canonicalrelation from a page to its preferred URL. - The vocabulary has two roads. A registered relation type is a short name governed by a registry; an extension relation type is a URI, and "clients SHOULD NOT automatically access that resource to avoid overburdening its server".
Describing a relationship without changing the page
Some facts about a page do not belong in its body: which URL is the canonical one, what the next page in a sequence is, where the stylesheet lives, what the author's profile is.
Putting them in HTML works only when the reader is a browser parsing a document. Putting them in a header works for any client that speaks HTTP, including the parts of the web that never render anything.
Two kinds of word
The registered relation types are the standard vocabulary: canonical, next, prev, alternate, author, preload. They are short because they are meant to be typed, and they are governed because a shared word with two meanings is worse than two words.
Extension relation types are the escape hatch. Anyone can mint a URI and use it, without asking a working group, and the URI identifies the relation by fiat of whoever controls it.
What the document refuses to inherit
The specification keeps its semantics small on purpose. Relation types describe how two resources relate; they are "not to be confused with media types", and they "SHOULD NOT infer any additional semantics based upon the presence or absence of another link relation type".
The exception is named, and its reason is named too: alternate combined with stylesheet has special meaning in HTML "for historical reasons". A good specification says when the rule bends.
The comparison rule that avoids trouble
Extension relation types are compared as strings, case-insensitively, character by character, and the document recommends writing them in lower case. That sounds pedantic until two systems disagree about whether Example/x and example/x are the same relation.
The document also tells clients not to fetch the relation URI. A definition is not a dependency, and treating every identifier as a URL to be retrieved is how a protocol turns a header into a traffic jam.
A registry of relationships
The registered names live in an IANA registry, and the registry is the interesting institution. It is a place where a convention invented by one application can become a word that every application may use, without anyone having to renegotiate meaning.
RFC 8288 does not add capability to the web. It adds a grammar for saying what things are to each other, and a small public list of approved words.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






