diff --git a/src/content/docs/turnstile/get-started/client-side-rendering/index.mdx b/src/content/docs/turnstile/get-started/client-side-rendering/index.mdx index df393f5e21db179..a8d8b6bf10f36f5 100644 --- a/src/content/docs/turnstile/get-started/client-side-rendering/index.mdx +++ b/src/content/docs/turnstile/get-started/client-side-rendering/index.mdx @@ -57,7 +57,15 @@ Add the Turnstile JavaScript API to your HTML. The `api.js` file must be fetched from the exact URL shown above. Proxying or caching this file will cause Turnstile to fail when future updates are released. ::: -#### 2. Add widget elements +#### 2. (Optional) Optimize performance with resource hints + +Add resource hints to improve loading performance by establishing early connections to Cloudflare servers. Place this `` tag in your HTML `` section before the Turnstile script. + +```html wrap + +``` + +#### 3. Add widget elements Add widget containers where you want the challenges to appear on your website.