mirror of
https://github.com/Such-Software/such.software.git
synced 2026-12-01 11:53:56 +01:00
The contact form's Turnstile widget pulled ~450KB of Cloudflare challenge scripts eagerly on every page load, including the homepage where the form sits far below the fold. On slow-4G mobile that download competes with the critical path during load (the biggest single drag on the mobile PageSpeed score; desktop was unaffected, hence the 97-vs-75 split). The widget now mounts only once its container is within 800px of the viewport; the existing placeholder reserves layout, and on /contact it still loads immediately.