Definition: Edge rendering is a web architecture approach in which page generation, personalisation logic, or content transformation is executed at CDN edge nodes — servers distributed globally close to end users — rather than at a central origin server. This reduces the round-trip distance data must travel, lowering latency for dynamically generated or personalised responses.
Why It Matters: Traditional server-side rendering requires every request to travel to an origin server, execute application logic, and return a response — adding latency proportional to geographic distance. Edge rendering brings computation closer to the user, enabling fast, dynamic experiences without sacrificing personalisation. For marketers and e-commerce teams, this means A/B tests, geolocation-based content, authentication checks, and personalised product recommendations can run at the edge without slowing page loads — directly improving Core Web Vitals and conversion rates.
How It Works: Edge rendering is implemented using edge compute runtimes provided by CDN vendors — Cloudflare Workers, Vercel Edge Functions, Netlify Edge Functions, and AWS CloudFront Functions are leading examples. These runtimes execute lightweight JavaScript (or WebAssembly) at the edge node handling a user’s request. The edge function can modify the response — rewriting HTML, injecting personalised content, redirecting based on geolocation, or running A/B test logic — before returning it to the user. Because edge functions run on CDN infrastructure rather than origin servers, they benefit from the CDN’s global distribution and caching.
Related: Content Delivery Network, Jamstack, Page Speed, Core Web Vitals, Headless CMS