I remember reading about a meta tag that makes the browser preload a page. What’s the tag again?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Prefetching is included in a W3C spec under the name Resource Hints. It is implemented in Firefox, Chrome, IE 11, Edge, Opera after 12.1, and the Android Browser from 4.4.4, see the caniuse prefetch page for more and up-to-date details.
Also see the caniuse and spec pages for related technologies (supported browsers afterwards are retrieved from caniuse and up-to-date as of September 2015):
IE 9 implemented DNS prefetching only but called it
"prefetch"(caution!). Chrome for a while (at least as far as 2013) only did prerendering and DNS prefetching. IE11 implementslazyload, for images; Microsoft has tried to get it in the spec but so far it isn’t. iCab is stated to have been the first browser to implement prefetching, although this behaviour was automatic, not controlled by the markup.Historical background
The Mozilla Application Suite, and later, Firefox, implement the spec (the spec is actually based on Mozilla’s early implementation of prefetching, which was somewhat based on the
Link:header specified in RFC 2068 which has now been superseeded by RFC 2616 [which does not reference theLink:header]. See this old version of the docs () for more detail.) As per the documentation on MDN ():So the syntax is:
You can also use the
Link:HTTP header:Or a
<meta>to simulate that same HTTP header:Note that the
nextrelation can also be used, but its main function is to indicate the "next" page in the navigation, so you should not use it for resources or unrelated information. Prefetching is also performed on HTTPS connections.iCab
iCab seems to () have implemented an early prefetching around 2001. iCab apparently prefetched all links to content pages (not resources), not following any hint the developer would have left in the markup.