Domain prefetching is a process of resolving a website’s IP address before a user clicks on it.

Types of prefetching

  • Link Prefetching
  • DNS Prefetching
  • Prerendering

This process allows the browser to perform the DNS lookups on a page in the background and at the same time the user can browse the current page. This minimizes latency as when the user clicks on the links they don't have to wait for DNS lookup.

BY Best Interview Question ON 17 Jan 2021