Comment on Saved 10 billion DNS queries per month by disabling DNS PrefetchingparentComments−buro915yI prefer HTTP headers instead of meta tags where possible.An example solution at the load balancer level, assuming the use of Varnish:In vcl_fetch: if (req.url ~ "\.(htm|html|php)" || req.url ~ "\/(\?.*)?$") { set beresp.http.disable-dns-prefetch = "1"; } In vcl_deliver: if (resp.http.disable-dns-prefetch) { remove resp.http.disable-dns-prefetch; set resp.http.X-DNS-Prefetch-Control = "off"; }−blantonl15ydo all the browsers that support the meta tag support consuming http headers for this "switch"?−metageek15yHttp-equiv is just a way of specifying an HTTP header in your HTML, so they really should.
Comments
I prefer HTTP headers instead of meta tags where possible.
An example solution at the load balancer level, assuming the use of Varnish:
In vcl_fetch:
In vcl_deliver:do all the browsers that support the meta tag support consuming http headers for this "switch"?
Http-equiv is just a way of specifying an HTTP header in your HTML, so they really should.