Blog
Construyendo en público
Zero-JS Wasn't Enough: Edge Caching SSR HTML on Cloudflare Workers
The sequel to the React-islands teardown: why the Lighthouse score kept swinging on a zero-JS site, and the two-day hunt through a hanging Zaraz beacon, a zod-vs-CSP conflict, and a cookie-gated HTML edge cache that ended it.
From React Islands to Zero-JS Astro: Reproducing react-hook-form Without React
A first-person migration log: how I removed every React island from the first screen of my Astro site, reproduced react-hook-form behavior in a vanilla TypeScript controller, and cut 162 npm packages.
Cloudflare Zaraz vs Server-Side GTM: the $0 and the $120/month Paths to Server-Side Tagging
Server-side GTM moves tag processing to a server you pay for; Cloudflare Zaraz removes vendor code from the browser entirely. Costs, Safari ITP, ad blockers, Google Tag Gateway, and the threshold where each one earns its place.
Partytown vs Cloudflare Zaraz: Relocate Third-Party Scripts or Remove Them
Partytown moves third-party scripts into a web worker. Cloudflare Zaraz removes them from the browser entirely. A comparison of both architectures, what each breaks in GA4, and when each one is the right call.
GA4 Engaged Sessions on Cloudflare Zaraz: the Missing Events
Cloudflare Zaraz only auto-forwards page_view, session_start, and first_visit to GA4. Here is why that zeroes out engaged sessions, and the engagement component that fixes it on Astro and Cloudflare Workers.
Cloudflare Zaraz Cookie Consent on Astro: a Zero-JS, Free-Tier Banner
A custom cookie consent banner on Cloudflare Zaraz and Astro, server-rendered on first visit only. Returning visitors get zero banner HTML and zero banner JavaScript, while Google Consent Mode v2 stays wired correctly.