Questions tagged [dns-prefetch]

5 questions
3
votes
1 answer

dns-prefetch + preconnect vs. browser cache

To improve the page load time I want to use dns-prefetch and preconnect for external javascripts. What happen if the ressource (in my case the…
Sr. Schneider
  • 647
  • 10
  • 20
3
votes
0 answers

DNS-prefetch and preconnect: Only for non-cached resources?

This is a question about dns-prefetch and preconnect, and possible optimizations: If a resource is cached, are dns-prefetch and preconnect still doing their job? If not, is it possible to optimize this behavior so that dns-prefetch and preconnect…
Evgeniy
  • 2,337
  • 2
  • 28
  • 68
1
vote
1 answer

How does DNS prefetching endanger security/privacy?

I would like a comprehensive explanation of the security and privacy risks that come with DNS prefetching. There are already other posts about this topic, but I want current information and feedback on my concerns. Thanks in advance. The Helmet.js…
Liz
  • 351
  • 3
  • 9
0
votes
0 answers

Using preconnect in Chrome in advance of injected Script

I am trying to use a preconnect link (or a dns-prefetch link) to get Chrome to perform DNS resolution and ideally open the connection to the remote server. From the network timeline this does not seem to be working. I did confirm this works on…
Alex Rothberg
  • 10,243
  • 13
  • 60
  • 120
0
votes
1 answer

Is dns-prefetch needed for resources that have cache policy?

Is it unnecessary to add dns-prefetch for servers that return cached resources? Does the web browser even need to resolve the domain for assets they know they have cached?
JorgeeFG
  • 5,651
  • 12
  • 59
  • 92