8 articles tagged with Cloudflare.
The edge is fast because it's constrained. This is the decision map for what belongs at the edge, what belongs at origin, and how compute, data, caching, and auth fit together.
Edge functions run everywhere and remember nothing. Durable Objects give you one addressable, single-threaded instance with transactional storage, the missing source of truth.
Edge runtimes look like Node but aren't. What actually breaks (CPU caps, memory, bundle size, sockets and filesystems) and how we route around it.
R2 charges nothing for egress, and for read-heavy buckets that is most of the bill. Here's where R2 wins, and where we'd keep S3 anyway.
Both put SQLite near your users, but they solve replication and write latency very differently. Here is how the architectures, bills and lock-in compare.
Moving header-injection logic from Lambda@Edge to Workers removes container cold starts. Here's when that swap pays off and when it doesn't.
The cache-control header most teams under-use. How stale-while-revalidate and stale-if-error turn a CDN from a freshness liability into a latency and resilience win, with the gotchas.
Edge compute is useless without an edge data layer. Three serverless databases that put data within ms of your edge functions, with the tradeoffs that aren't on the marketing pages.