Link prefetching

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Link prefetching is a draft standards compliant mechanism used by some web browsers, which uses browser idle time to download or prefetch documents that the user might visit in the near future. A web page provides a set of prefetching hints to the browser, and after the browser is finished loading the page, and after an idle time has passed, it begins silently prefetching specified documents, storing them in its cache. When the user visits one of the prefetched documents, it can be served up quickly out of the browser's cache.

As prefetching is an Internet Draft standard, examples of prefetching can be divided into standard compliant and non-compliant:

Contents

[edit] Compliant prefetching

Prefetching is not currently explicitly defined by any accepted standards, but Mozilla have announced work on an Internet Draft, that will match the implementation in Firefox[1].

<link rel="prefetch" href="http://www.example.com/">

[edit] Non-compliant prefetching

In opposition to the Internet Draft, by forcing links to be prefetched when they are not specified as prefetch links.

  • Fasterfox has an option to enable the prefetching of all page links by the browser.

[edit] Browser support

[edit] Sites using prefetching

Notable sites include:

  • Google is the first well-known website that takes advantage of this feature so as to improve the user experience. If the first hit is considered very probable to be the desired hit, it is assigned as a prefetchable link.
  • Web Album Generator is a free program that creates photo albums which use link prefetching.

[edit] Criticisms

  • Users who pay for the amount of bandwidth they use find themselves paying for traffic for pages they might not even visit.
  • Webmasters who pay for the amount of outgoing traffic on their sites, are forced to pay for traffic generated by people who may never actually visit their sites.
  • Advertisers pay for viewed ads on sites that are never visited (non-compliant prefetching)
  • Browser usage statistics may get skewed towards browsers that implement prefetching.
  • Search engine referer statistics may get skewed towards search engines that implement prefetching.
  • Web site statistics may become less reliable due to registering page hits that were never seen by the user.
  • Users may be exposed to more security risks - by downloading more pages, or from un-requested sites (additionally compounded as drive-by downloads become more advanced and diverse).
  • Web providers may find themselves at liability of third-party content outside of their domain that could be hot-swapped, however search engines have made it heavily accepted that one should have no liability of what one links to, and this is only slightly different through making it more mandatory that one gets the links content.

[edit] Notes

[edit] See also

[edit] External links