/blog/tags

#cloudflare

5 posts tagged.

01

Cloudflare does not edge-cache your Worker's HTML. Here is the fix.

s-maxage looks like it should cache your SSR pages at Cloudflare's edge. For Worker-generated responses it does not. I measured it, then fixed it in about forty lines with the Cache API.
02

Three Wrangler and Vite plugin failure modes that hid the real error

Three small bugs in the Cloudflare Workers toolchain that all had the same shape: the tool failed, then reported something unrelated. What they were and how they were fixed.
03

An idempotency bug that only affected posts with em-dashes

My nightly D1 to GitHub backup worker claimed idempotency and quietly lied about it every run. The culprit: atob() returns a latin-1 string, not UTF-8. Here is how I found it and the 13-line fix.
04

Terraform, Pulumi, Kubernetes, or none: picking infra in 2026

I have used Terraform to run Kubernetes microservices in production. My personal site runs on 47 lines of wrangler.toml. After seven years with and without those tools, here is the honest cutoff.
05

Migrating from WordPress to Cloudflare Workers in 2026

After years on WordPress, I rebuilt yigittanriverdi.com as a single Cloudflare Worker. Astro 6 SSR, D1 for content, two write paths into one source of truth, and an admin panel I can edit from anywhere.