add dns-prefetch, and add as http headers
-
This plugin is pretty neat! I see it has both preload and preconnect options. Do you think you could add dns-prefetch too, for when I have too many domains to preconnect to all of them, or for domains that I know I’ll need soon but not at initial page load? Eg a YouTube embed scrolled down the page a bit that doesn’t appear during initial page load – I count 5 domains that my browser connects to once the embed comes into view, which is far too many domains to preconnect to, but it could do with some help to speed up its loading when it comes into view.
Also, any chance of an option to insert these hints as HTTP headers instead of in the <head> section? When I did it manually on my site, I noticed those preloaded files downloading another 20-25ms earlier on average as they could start as soon as my server replied, before it was ready to send the html/the browser had started parsing the html – not much but a small win in loading speeds is still a win 🙂
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.