You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PCX-19650: add preconnect to Turnstile docs (#26245)
* PCX-19650: add preconnect to Turnstile docs
* Apply suggestions from code review
---------
Co-authored-by: Patricia Santa Ana <103445940+patriciasantaana@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/content/docs/turnstile/get-started/client-side-rendering/index.mdx
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,15 @@ Add the Turnstile JavaScript API to your HTML.
57
57
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.
58
58
:::
59
59
60
-
#### 2. Add widget elements
60
+
#### 2. (Optional) Optimize performance with resource hints
61
+
62
+
Add resource hints to improve loading performance by establishing early connections to Cloudflare servers. Place this `<link>` tag in your HTML `<head>` section before the Turnstile script.
0 commit comments