Edge Caching vs Traditional CDN vs Origin Page Cache: Choosing the Right Layer for Your Site
Most performance advice mentions “caching” as if it’s one thing. In practice, three distinct caching layers exist—edge caching, traditional CDN caching, and origin page caching—each solving different problems at different points in the request chain. Choosing the right combination depends on your architecture, traffic patterns, and what’s actually slow.
The three layers, quickly defined
Origin page cache stores generated HTML on your server so the application doesn’t rebuild pages from scratch on every request. WordPress page caching plugins (WP Super Cache, WP Rocket) work at this layer. The request still reaches your server, but PHP execution and database queries are skipped for cached pages.
Traditional CDN caching distributes static assets (images, CSS, JavaScript, fonts) across geographic edge locations. The assets serve from locations near visitors, reducing latency for these resources. But the HTML itself still comes from your origin server.
Edge caching stores full HTTP responses—including HTML—at CDN edge locations. The request never reaches your origin for cached pages. This combines the benefits of page caching with geographic distribution: fast responses served from locations near the visitor.
When origin page cache is sufficient
Sites with geographically concentrated audiences don’t benefit much from geographic distribution. If 90% of your traffic comes from one country and your server is in that country, edge caching’s geographic advantage is minimal. Origin page caching delivers the core benefit—skipping application execution—without CDN complexity.
Low-traffic sites may not justify edge caching infrastructure. If your origin server comfortably handles all traffic, adding caching layers adds operational complexity without solving a real problem. Origin page caching is usually trivial to implement and maintains simplicity.
Sites with highly dynamic content that can’t cache effectively at the edge may benefit more from origin-level optimisation. If every request requires personalisation or real-time data, edge caching either doesn’t apply or requires complex cache key strategies. Origin-level optimisations (object caching, query optimisation) address the actual bottleneck.
When you need CDN but not full edge caching
Sites with heavy static assets and a global audience benefit from CDN even without edge caching. Product images, downloadable files, media libraries—these serve perfectly from CDN without caching HTML at the edge.
If your HTML is lightweight but assets are heavy, traditional CDN solves the bigger performance problem. A 5KB HTML page loads quickly from anywhere. A 2MB hero image doesn’t. CDN for assets plus origin caching for HTML is a practical combination that avoids edge caching complexity.
Progressive web applications where the shell is static but content loads dynamically via API fit this pattern well. CDN serves the app shell quickly; API calls handle dynamic content from origin. Edge caching the shell would be marginal benefit since it’s already small and fast.
When edge caching is the right choice
High-traffic sites with cacheable content benefit enormously from edge caching. When thousands of concurrent visitors request the same page, serving from edge eliminates origin load entirely. The origin handles only cache misses and invalidation, not traffic volume.
Global audiences experience consistently fast page loads with edge caching. Without it, a visitor in Tokyo waiting for a response from a London server experiences unavoidable latency. Edge caching from a Tokyo node delivers the full page in milliseconds regardless of origin location.
Sites handling traffic spikes need edge caching as a buffer. Product launches, news events, or viral content can multiply traffic 10-100x. Edge caching absorbs these spikes at the CDN level while origin infrastructure handles only normal cache-miss volume.
WordPress sites with primarily anonymous traffic are ideal edge caching candidates. Blog posts, landing pages, and informational content rarely change and serve identically to every visitor. Cache hit rates of 90%+ are achievable, reducing origin load to a fraction of total traffic.
Combining layers effectively
Most well-optimised sites use multiple caching layers simultaneously. They’re complementary, not competing. Origin page caching handles cache misses that reach your server. CDN serves static assets globally. Edge caching serves full pages globally. Each layer catches what the others miss.
The combination provides defence in depth. If edge cache misses (new content, expired cache, uncacheable request), origin page caching still prevents full application execution. If origin page cache misses, optimised application code and database caching keep response times reasonable.
Configuration should flow from edge inward. Set edge caching rules first—what to cache, cache duration, cache keys. Then configure origin caching to handle edge misses efficiently. Finally, optimise application code for requests that bypass all caching layers.
Cache invalidation across layers
Multiple caching layers require coordinated invalidation. When content updates, all layers need to serve fresh content. Stale content at any layer creates consistency problems.
For WordPress, plugins that handle multi-layer invalidation simplify this. Publishing a post triggers edge cache purge, origin cache clear, and object cache invalidation in sequence. Without coordination, visitors might see stale content from one layer while another layer has the update.
Cache-Control headers should be consistent across layers. If your origin sets max-age=3600 but the edge caches for 24 hours, edge visitors see older content than origin visitors. Align cache durations across layers, or use surrogate keys for granular invalidation.
The decision framework
Assess your current bottleneck. If your server is slow, origin page caching helps most. If assets load slowly for distant visitors, CDN helps most. If full pages load slowly for distributed audiences under high traffic, edge caching helps most.
Consider your operational capacity. Each layer adds monitoring, configuration, and debugging complexity. Origin caching is simplest. CDN adds moderate complexity. Full edge caching requires the most expertise and monitoring. Match complexity to your team’s capabilities.
Evaluate cost at each layer. Origin caching is usually free (plugin or server configuration). CDN costs scale with bandwidth. Edge caching may involve per-request or compute charges. Calculate total cost across layers against the performance improvement each provides.
Start simple and add layers as needed. Origin caching first, CDN for assets second, edge caching for HTML third. Each layer should solve a measured problem. Adding edge caching because it exists, not because your site needs it, wastes money and adds unnecessary complexity. For guidance on which caching layers would benefit your specific architecture, our performance team can assess your current stack and recommend the most effective combination.