Form Rig

Performance
Prefetch DNS Records

Eric Fortis

At my location, each prefetched DNS record saves about 240ms of load time. Therefore, UI Drafter's pages prefetch domain names users may go next, for example the documentation one.

Option 1: <link> tag

<head>
  <link rel="dns-prefetch" href="//docs.formrig.com">

Option 2: Link response header

Link: <//docs.formrig.com>; rel="dns-prefetch"

Sponsored by: