Best practices

Recommendations and usage patterns that help the performance of your web applications.

API pre-connect

API pre-connect is recommended for improved request timings. To enable it, place the preconnect directive as early as possible in your head tag:

<link rel="preconnect" href="">
<link rel="preconnect" href="">
... styles, js etc

Note that you need to pre-connect to both CDN and API. If you're using the EU API, use this pre-connect URL: