Improve Web Performance by Using Preconnect & DNS-Prefetch

Place below code inside the <header> tag for all external domains

<link rel="preconnect dns-prefetch" href="https://www.googletagmanager.com" crossorigin>
<link rel="preconnect dns-prefetch" href="https://www.moddiy.com" crossorigin>
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com" crossorigin>
<link rel="preconnect dns-prefetch" href="https://onesignal.com" crossorigin>
<link rel="preconnect dns-prefetch" href="https://client.crisp.chat" crossorigin>
<link rel="preconnect dns-prefetch" href="https://stats.g.doubleclick.net" crossorigin>
<link rel="preconnect dns-prefetch" href="https://settings.crisp.chat" crossorigin>
<link rel="preconnect dns-prefetch" href="https://www.google.com" crossorigin>
<link rel="preconnect dns-prefetch" href="https://image.crisp.chat" crossorigin>

Leave a Reply

Your email address will not be published. Required fields are marked *