[Bug 7918] prefetching: allow site to deny

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7918





--- Comment #10 from Maciej Stachowiak <mjs@apple.com>  2010-04-28 22:23:57 ---
(In reply to comment #9)
> For what it's worth, in Firefox prefetch implementation we add the http header:
> 
> X-Moz: prefetch
> 
> to all prefetch requests. This allows sites to block any and all prefetch
> requests. It can simply close the TCP connection upon detecting this header.
> 
> One downside with your approach is that it causes even more requests to go to
> servers, since you have to first request the use.txt file. It also slows down
> performance since the two requests have to be made one after another.
> 
> The header approach does not suffer these problems.

This header sounds like a good approach, though of course ideally we would want
one with a name other than "X-Moz".

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 28 April 2010 22:24:01 UTC