|Add X-Purpose header to prefetch requests|
|Project Member Reported by email@example.com, Oct 8 2010||Back to list|
Right now prefetch requests from webkit contain no marker header at all. This is inconsistent with Mozilla (which sends the admittedly awful X-Moz header) and Safari (which for preview fetches sends the header X-Purpose). Since for preview Safari sends X-Purpose: preview in the request, and since for prefetch Firefox sends X-Moz: prefetch, I propose the best way to split the difference is to send X-Purpose: prefetch from Chrome. There's been a lot of discussion in webkit about this, and some resistance there. As a result, I think we should land something in Chrome to send this header for M8, and hopefully get WebKit on board for a future revision.
Oct 10 2010,
This is landed in webkit, as bug 46529. https://bugs.webkit.org/show_bug.cgi?id=46529 , and Chrome has already gardenned past this revision. The Link header changeset, at http://code.google.com/p/chromium/issues/detail?id=58456 , includes a functional test that asserts this is working as prefetch.py. As well, the link header has to separately set this header, and it does, so when the link header lands this header will still work for all requests.
Oct 12 2012,
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
Mar 10 2013,
|► Sign in to add a comment|