SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Link headers

  1. #1
    SitePoint Member
    Join Date
    Aug 2009
    0 Post(s)
    0 Thread(s)

    Link headers

    I was reading through the HTML spec recently, and recently came across a note at the end of section 12 (links):
    For versions of HTTP that define a Link header, user agents should handle these headers exactly as LINK elements in the document. HTTP 1.1 as defined by [RFC2616] does not include a Link header field (refer to section 19.6.3).
    It is indeed not defined in RFC2616 apparently due to being rarely implemented; the RFC instead refers to RFC2068, where link headers are described in detail (section

    What are people’s thoughts on using this? Is it non‐standard? In a quick test it seems that Opera and Firefox support it while IE6 and Lynx don’t, so I won’t be giving up <link> tags anytime soon. It seems like it might be useful for non‐HTML files, though—I’m thinking sending “Link: <>; rel="next"” when somebody views image1.jpg, for instance.

  2. #2
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    51 Post(s)
    2 Thread(s)
    I include them just-because, and then don't rely on them. So what if only Opera users (and then only a few) see a toolbar at the top with a link to "author" or "home"? Bah.

    I think it's fun to have for things like Easter Eggs. Little hidden pages some people might find if they're using the right browser.

    Like Javascript, you simply cannot rely on them. So they are a nicety that you have to decide if you want to spend the time on them. Possibly later user agents will use them more. Then you're ahead of the curve.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts