W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2010

[Bug 7918] prefetching: allow site to deny

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Apr 2010 22:23:17 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1O7Ff3-00016i-Qb@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:49 UTC