Note that there are some explanatory texts on larger screens.

plurals
  1. POlink element prefetching not working in Firefox 3.6
    primarykey
    data
    text
    <p>I am trying to test prefetching on Firefox 3.6. I'm using:</p> <pre><code>&lt;link rel="prefetch" href="hst_galaxy.jpg"/&gt; </code></pre> <p>I don't see any requests in Firebug's Net panel. When I look at the Apache 2 logs, I see only the page request, nothing after. I don't see the expected <code>X-moz: prefetch</code> header either. I have also inspected the packets using Wireshark and the prefetch header is not being sent. I also used LiveHttpHeaders(FF extension), and again the prefetch header isn't sent.</p> <p>I checked out my about:config options and "network.prefetch-next" is enabled.</p> <p>My test setup is on Mac OS 10.5.8. I am using the local installation of Apache, and running this from a test HTML file in the sites directory. I've tried 3 different domain options:</p> <ul> <li>localhost/cachetest</li> <li>localhost.com/cachetest</li> <li>www.randomurl.com/cachetest</li> </ul> <p>localhost.com and randomurl.com are domains I have configured in my /etc/hosts file. The test page is accessible.</p> <p>I've visited this page which says the <code>X-Moz</code> header is detected. <a href="http://browserspy.dk/prefetch.php" rel="nofollow noreferrer">http://browserspy.dk/prefetch.php</a> In Firefox, it says yes. In Chrome/Safari it says no, which is expected. Again, I cannot detect the <code>X-Moz</code> header being sent with Wireshark or LiveHttpHeaders. When looking at the source of that page, I do see the right kind of <code>&lt;link rel="prefetch"&gt;</code> element though.</p> <p>I'm really not sure what I'm missing. I've been pretty thorough with testing this and I don't see how this possibly is working if I detect nothing from Firefox and record nothing in Apache.</p> <p>Does anyone have some enlightenment they can share?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload