[Bug 7918] prefetching: allow site to deny

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


Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc




--- Comment #9 from Jonas Sicking <jonas@sicking.cc>  2010-04-28 22:12:08 ---
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.

-- 
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:12:16 UTC