Menu

How We Serve a 374-Series Trilingual Catalogue at $0 Database Egress with Cloudflare Workers, R2 Edge Deltas & Worker-Level Stale-While-Revalidate
📰

How We Serve a 374-Series Trilingual Catalogue at $0 Database Egress with Cloudflare Workers, R2 Edge Deltas & Worker-Level Stale-While-Revalidate

DEV Community: nextjs·Jenishkumar Dholakiya·about 7 hours ago
#CzMWCNYW
#devtonextjs#devto#dev#json#delta
Long article (1857 words) — no AI summary yet.
Reading 0:00
15s threshold

Serving a content-heavy, multilingual web catalogue on serverless infrastructure usually runs into two predictable cost cliffs: database egress (paying per read or per gigabyte every time crawlers and users walk thousands of detail pages) and cold-start latency (watching TTFB spike whenever edge caches expire or a crawler hits long-tail routes).

At DiziLuma , we serve a trilingual ( English, Turkish, and RTL Arabic ) Turkish television catalogue indexing 374 series (1981–2026), 16,585 static catalogued episodes , plus live 6-hour R2 episode additions (+235 dynamic episodes) across 50,000+ localized sitemap URLs — all running on a single $5/month Cloudflare Workers Paid plan ( @opennextjs/cloudflare 1.20.19 ) with $0 database egress on public catalogue reads and $0.00/month GCP/Firebase billing .

Here is the exact architecture we built in production, why naive edge caching wasn't enough, and the verified metrics we measured under full-site stress tests and authenticated PageSpeed Insights audits.

The…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.