Testing GenUI & Semantic Edge Caching — AI Part 6

Prerequisite: Familiarity with the concepts introduced in Part 5 — Human In The Loop. Review it first if the terminology in this part is unfamiliar. Answer-first: Testing non-deterministic Generative UI components and optimizing their global delivery requires combining Visual Regression E2E Testing (via Playwright mock harnesses) with Semantic Edge Caching (via Cloudflare Workers or Vercel Edge Functions). By mocking LLM tool responses during CI/CD test runs and implementing vector similarity caching at the CDN edge, teams achieve 100% deterministic test coverage while reducing AI component latency from 2,500ms down to less than 45ms for cached intent patterns. ...

March 23, 2026 · 8 min · Lê Tuấn Anh

Zero DevOps E-commerce with Cloudflare Workers & Turborepo

Zero DevOps E-commerce with Cloudflare Workers & Turborepo For a stateful edge checkout pattern, pair it with Cloudflare D1 and Durable Objects for real-time carts. Tired of maintaining expensive Kubernetes clusters, fine-tuning Auto-scaling groups on AWS, or wiring together complex CI/CD pipelines just to keep an e-commerce store alive? Welcome to the Zero DevOps era. This guide we dissect Aura Store — a production-grade Cloudflare Workers E-commerce platform built entirely on Edge infrastructure, powered by a Turborepo Monorepo. Everything you see below is drawn directly from the running codebase. ...

June 17, 2026 · 12 min · Lê Tuấn Anh

Cloudflare D1 & Durable Objects: Build Real-Time Cart

Cloudflare D1 + Durable Objects: Building a Real-Time Cart The traditional shopping cart architecture is a familiar set of tradeoffs: Redis for session storage, PostgreSQL for order data, and a backend API tier that coordinates between them. It works, but it introduces latency proportional to the distance between the user and your datacenter, requires operational overhead for Redis cluster management, and struggles with globally concurrent cart edits from the same user across multiple devices. ...

June 1, 2026 · 17 min · Lê Tuấn Anh

Deploy Astro on Cloudflare Pages: Full-Stack Edge Guide

Deploy Astro on Cloudflare Pages: Full-Stack Edge Architecture Running a content site on a traditional VPS or a managed Node.js host is fine until it isn’t. You pay for compute that sits idle 95% of the time, you manage SSL renewals, you worry about cold starts, and you watch your Lighthouse score suffer because your origin is in Singapore while your readers are in Frankfurt. Cloudflare’s edge stack solves all of this. This post covers two paths: building a greenfield site with Astro on Cloudflare’s full edge stack — Workers, R2, D1, Pagefind — and putting an existing WordPress site behind Cloudflare’s CDN without migrating anything. Both approaches, real config, and the tradeoffs that matter. ...

April 24, 2026 · 16 min · Lê Tuấn Anh