Cloudflare Transitions Main Blog to EmDash CMS
Cloudflare has successfully migrated its primary blog from WordPress to EmDash, an open-source content management system crafted with TypeScript and hosted on Cloudflare Workers.
This innovative deployment incorporates Workers Cache, an object cache that draws on both Workers KV and Hyperdrive for database interactions, ensuring robust performance even during immense traffic fluctuations.
Dubbed the “Customer Zero,” Cloudflare proudly claims the title of the first significant production user of EmDash.
The impetus for developing this platform arose after the previous WordPress configuration struggled under pressure, experiencing latency issues during sudden surges in traffic.
Notably, the blog typically receives around 75 requests per second but has surged past 5,000 requests during peak times.
An Edge-Hosted CMS with Layered Caching
EmDash operates seamlessly within a Worker, establishing a connection to a PlanetScale database through Hyperdrive. Multiple layers of cache facilitate the proximity of published content to its audience.
The Workers Cache efficiently manages edge responses, while EmDash enhances this by incorporating an object cache that retains application data in Workers KV.
This configuration significantly reduces repetitive database calls and affords the blog the capability to serve content promptly during sudden spikes in traffic.
Initially introduced as a developer preview in April, EmDash aims to provide development teams with a programmable CMS that emphasizes edge deployment, cache management, and comprehensive integration with Cloudflare’s platform.
Unlike traditional WordPress setups, where application servers, database queries, and page caching are typically siloed behind a distinct content delivery network, EmDash’s architecture brings these elements within the Cloudflare edge framework.
This integration minimizes operational challenges during high-traffic events. Cache misses in a conventional architecture may necessitate rerouting requests through the application and database stack, resulting in increased response times across the site. EmDash effectively retains more of this processing within Cloudflare’s edge-centric environment.
P95 Latency Remained Consistent During Load
Cloudflare conducted a comparative analysis of p95 response latency between the legacy WordPress system and EmDash.
The former exhibited consistent latency spikes under load, whereas EmDash demonstrated a flatter response profile post-implementation of the Worker runtime and advanced cache layers.
The p95 latency metric signifies the response time met or surpassed by 95% of requests, offering infrastructure teams a valuable insight into tail performance, where a minority of slow requests may disrupt user experience, affecting readers, crawlers, and API clients alike.
For a high-traffic blog, tail latency bears implications beyond page speed. A sluggish origin request can burden compute and database resources, as cache misses exacerbate this load when articles gain traction on social media or draw search engine interest.
Cloudflare’s architecture strategically places the cache within the request path, preceding the database. This design allows for the delivery of cached responses without fully engaging the CMS stack.
Teams mirroring this approach would need to delineate cache keys, establish invalidation protocols, and define freshness windows for each content variety.
A Proxy Worker Facilitated the Migration
To manage the transition, Cloudflare employed a proxy Worker that adeptly distributed traffic between WordPress and EmDash.
The Worker assigned version cookies to incoming requests, ensuring visitors maintained a coherent experience throughout the migration process.
The initial rollout commenced with a mere 1% of traffic, incrementally increasing as engineers monitored error rates, latency, and cache behaviors, culminating in a complete traffic shift to EmDash within a single day.
This proxy system featured a fallback mechanism; in the event of a 500-level error from EmDash, the Worker would reroute requests back to the traditional WordPress site.
This methodology mitigated the risks associated with a wholesale transition, enabling engineers to keep the legacy system operational during the validation phase.
Furthermore, this approach afforded Cloudflare a functional fail-safe. Engineers retained the flexibility to adjust traffic routing at the edge without necessitating a CMS overhaul or prompting users to alter their experience.
A production migration necessitates metric analysis segmented by traffic cohort since aggregate latency may obscure failures affecting specific versions or cache paths.
MCP Servers Enhance Agent Accessibility
In conjunction with the migration, Cloudflare established an MCP server for the Cloudflare Blog and another dedicated to EmDash.
These servers provide authors with capabilities to browse, create, edit, publish, and schedule content via tools that adhere to the Model Context Protocol.
This interface facilitates the CMS’s connection to AI agents without mandating that each agent assimilate a distinct private API.
Additionally, it enables Cloudflare to dictate permissions for various editorial tasks, with read operations governed by different policies compared to those reserved for publishing or content scheduling.
When considering agent access, teams should distinctively separate discovery from mutation processes.
Search and draft reviews can operate utilizing limited read permissions, while publishing mandates more stringent identity verification measures, audit trails, and safeguards to prevent an agent from inadvertently altering unrelated content.
Editors Identified Shortcomings in Early Release
Feedback from Cloudflare’s editors unveiled adoption challenges, particularly within the editing workflow and scheduling functionalities.
The development team has actively communicated these insights to the EmDash developers, who are diligently working towards a version 1 release, though a formal launch date has yet to be announced.
The migration underscores the complexities inherent in constructing a CMS centered around an edge runtime.
Cloudflare achieved enhanced control over execution, caching, and traffic routing, yet has also assumed accountability for editing workflows that are typically matured through years of refinement in established platforms.

As EmDash advances towards its next release, it must address these editorial workflow gaps while maintaining the performance paradigms that justified the migration.
The project’s ultimate success will hinge on its dual capacity to deliver rapid content access for readers and provide reliable publishing tools for editors.
Source link: News.lavx.hu.




