lundi 30 novembre 2015

Should tag be placed as high as possible in website?

I'm implementing the new dns-prefetch tag for my web application and I wonder where I should place it in the <head> tag?

Should I place it as the first tag in <head> so that browser immediately starts prefetching DNS?

<html>
 <head>
  <link rel="dns-prefetch" href="//ajax.googleapis.com">
  ... other tags ...
 </head>
 <body>
 </body>
</html>

I can't find a good guide about this tag.




Aucun commentaire:

Enregistrer un commentaire