“The most obvious example where DNS prefetching can help is when a user is looking at a page with many links to various domains, such as a search results page.”
If a user Googles my company name, once the search results show my link in the search results, and before they even click the link, prefetching will begin with the resources I have identified in my above code?
What is the correct way? I found a number of souces using that shema, so I just copied it. Im not saying its still not wrong, I just am not sure the correct way.
I suspect the issue is the editor you are using. Word Processors tend to use “smart quotes” that are NOT what applications require; or what code editors will use.
I may very well be wrong, but that’s not how I’m reading the article.
As I read it, the manual pre-fetch will only work on the page which includes it, for domains linked from that page.
My understanding is that Google (or other search engine) wouldcould pre-fetch the domains shown on the results page, but not any domains linked from those pages.
I read it the same way. My objective here is to get prefetch my dns and possibly add some resources on my page to be prefetched upon search. I think of we are reading that the same this might be the case. I’m working on my page loading speed .
DNS prefetching is telling the browser to start resolving the IP address for the host name mentioned while the page keeps on loading so once it hits the resource you are linking to on that domain, like a font, or script, or stylesheet, it will already have resolved the DNS for that domain and can connect instantly because it has already resolved the IP.
It has nothing to do with google and/or ranking whatsoever.