DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content

CDN edge vs. origin

Related service Website & online shop

DEFINITION

The origin is your server, where the app runs and the data lives. The edge is a CDN-provider node near the user that serves from cache or runs edge functions. Round-trip to the edge is 5-30ms; to origin easily 80-200ms. Serve cacheable things at the edge; serve personalised things at the edge too if the cache key includes identity and the privacy story holds. 'Edge is always faster' is a myth · data locality wins, and the edge function is slow if its DB is far away.

RELATED TERMS06
  • SSR (Server-Side Rendering)

    HTML rendered by the server per-request, fresh for every user. Ideal for dynamic content (dashboards), but slower than SSG.

  • SSG (Static Site Generation)

    Pages are produced at build time as HTML and served from a CDN. Near-zero TTFB. DField's own site runs this way across 111+ pages.

  • ISR (Incremental Static Regeneration)

    SSG + timed regeneration: the HTML is static but regenerates on a schedule. Ideal for blog content · freshness with CDN speed.

  • Edge rendering

    Code runs at the CDN edge closest to the user (Cloudflare Workers, Vercel Edge). Dynamic responses with ~10–50 ms TTFB.

  • RSC (React Server Components)

    React components that run exclusively on the server and never ship to the browser. Result: less client-side JS and faster hydration.

  • LCP (Largest Contentful Paint)

    Time until the largest visible element paints. Google Core Web Vitals passes under 2.5s · we usually land marketing pages under 1s.

MENTIONED IN THE BLOG08