What is domain pre-fetching and how does it help with performance?
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
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.