What is dns-prefetch and x-dns-prefetch-control?

I decided to study the topic of meta tags in more detail and came across these tags:

<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="">

How do they work and what task do they solve?

Author: Alexander Semikashev, 2014-06-23

1 answers

In short , you tell the browser at what addresses your page resources (maps, scripts) can be located, so that it can immediately say the names. On a very slow internet, this can save up to 0.2 seconds per request.

 10
Author: KoVadim, 2019-03-04 16:03:37