Improving First Page Performance
- 08 May 2023
- Print
- DarkLight
Improving First Page Performance
- Updated on 08 May 2023
- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
First page load performance can be improved in modern browsers by adding the following lines to the HTML HEAD section of the webpage to prefetch the DNS when you are not using a first party snippet.
<link rel="dns-prefetch" href="//client.px-cloud.net">
<link rel="dns-prefetch" href="//collector-<APPID>.px-cloud.net">
<link rel="preconnect" href="https://collector-<APPID>.px-cloud.net"/>
<link rel="preconnect" href="//client.px-cloud.net"/>
Was this article helpful?