Remove <link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
See original GitHub issueI checked that…
- … the documentation does not mention anything about my problem
- … the problem doesn’t occur with the default MkDocs template
- … the problem is not in any of my customizations (CSS, JS, template)
- … there are no open or closed issues that are related to my problem
Description
The theme currently has <link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
in the head. The Google Analytics integration follows immediately afterwards so there is no need to preconnect so I think this can be removed. Furthermore, I think Safari does not accept more than one value for link rel so neither would be used.
REF: https://web.dev/preconnect-and-dns-prefetch/#resolve-domain-name-early-with-reldns-prefetch
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Using Prefetching and Preconnects to Increase Speed
Your site is being slowed down because it's making connections to other websites to request resources such as Google Analytics and Google Fonts....
Read more >how to preconnect or prefetch google analytics
In order to add preconnect for Google Analytics you can insert this code. <link rel="preconnect" href="https://www.google-analytics.com/">.
Read more >Make sure the dns-prefetch is removed, too - WordPress.org
The plugin's “Remove Google Fonts” feature is dope, however it's not perfect. I was able to spot one last link element to Google...
Read more >Dns-prefetch & Preconnect: 7 Tips, Tricks and Pitfalls - Medium
We can either specify it in the document markup or via the HTTP Link header: Markup: <link rel="preconnect" href="https://www.vrbo.com">; Link ...
Read more >Establish network connections early to improve perceived ...
This post explains how to achieve that with two resource hints: <link rel=preconnect> and <link rel=dns-prefetch> .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released as part of 5.2.3
Fixed in 1df750a9.