Improving First Page Performance
  • 08 May 2023
  • Dark
    Light

Improving First Page Performance

  • Dark
    Light

Article Summary

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?