<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>20931</bug_id>
          
          <creation_ts>2008-09-19 00:18:24 -0700</creation_ts>
          <short_desc>DNS prefetch when the user mouses over a hyperlink</short_desc>
          <delta_ts>2008-09-20 23:29:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Collin Jackson">collinj</reporter>
          <assigned_to name="Collin Jackson">collinj</assigned_to>
          <cc>eric</cc>
    
    <cc>jar</cc>
    
    <cc>koivisto</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91737</commentid>
    <comment_count>0</comment_count>
    <who name="Collin Jackson">collinj</who>
    <bug_when>2008-09-19 00:18:24 -0700</bug_when>
    <thetext>Currently we&apos;re calling prefetchDNS on links in the page during load time only. However, many DNS entries have a short TTL and the response may expire while the user is viewing the page. If the user then tries to navigate by clicking on a hyperlink, the browser will have to do a new DNS lookup and must wait for the response before it can load the URL. To reduce perceived latency due to expired DNS entries, we can re-prefetch the hostnames of links when the user mouses over them. (Web sites can control this behavior via the DNS prefetch control mechanism.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91740</commentid>
    <comment_count>1</comment_count>
      <attachid>23558</attachid>
    <who name="Collin Jackson">collinj</who>
    <bug_when>2008-09-19 00:37:22 -0700</bug_when>
    <thetext>Created attachment 23558
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91855</commentid>
    <comment_count>2</comment_count>
      <attachid>23558</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2008-09-19 19:24:13 -0700</bug_when>
    <thetext>Comment on attachment 23558
Proposed patch

Cool.  r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91970</commentid>
    <comment_count>3</comment_count>
    <who name="Collin Jackson">collinj</who>
    <bug_when>2008-09-20 23:29:50 -0700</bug_when>
    <thetext>Landed in r36730</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23558</attachid>
            <date>2008-09-19 00:37:22 -0700</date>
            <delta_ts>2008-09-19 19:24:13 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>dns-prefetch4.patch</filename>
            <type>text/plain</type>
            <size>1371</size>
            <attacher name="Collin Jackson">collinj</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzNjY2MikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDgtMDktMTggIENvbGxpbiBKYWNrc29uICA8Y29sbGluakB3ZWJr
aXQub3JnPgorCisgICAgICAgIFByZWZldGNoIEROUyBmb3IgaHlwZXJsaW5rcyB0aGF0IHRoZSB1
c2VyIG1vdXNlcyBvdmVyLgorCQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Z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mVyTm9kZSgpLT5kb2N1bWVudCgpOworICAgICAgICBpZiAoZG9jdW1l
bnQgJiYgZG9jdW1lbnQtPmlzRE5TUHJlZmV0Y2hFbmFibGVkKCkpCisgICAgICAgICAgICBwcmVm
ZXRjaEROUyhyZXN1bHQuYWJzb2x1dGVMaW5rVVJMKCkuaG9zdCgpKTsKKyAgICB9CiAgICAgbV9j
bGllbnQtPm1vdXNlRGlkTW92ZU92ZXJFbGVtZW50KHJlc3VsdCwgbW9kaWZpZXJGbGFncyk7CiB9
CiAK
</data>
<flag name="review"
          id="10548"
          type_id="1"
          status="+"
          setter="sam"
    />
          </attachment>
      

    </bug>

</bugzilla>