Site quality · Performance

ESI (Edge Side Includes)

We implement ESI (Edge Side Includes): the page is cached as a whole, but individual dynamic fragments (cart, username, counters) are inserted separately — at the cache/proxy level. To cache almost everything without sacrificing personalized bits. Honestly upfront: this is powerful but niche — ESI requires support on the cache side (Varnish/a compatible proxy or CDN), is complex and is not needed by every project.

Price
$3,600
Duration
usually 1–2 weeks; depends on infrastructure

ESI (Edge Side Includes) — overview

ESI (Edge Side Includes) — price, timeline & scope

ESI is an engineering project: we mark the page into a cacheable base and dynamic fragments (ESI tags), configure the cache/proxy (Varnish or compatible) so the base is served from cache instantly while personalized parts are assembled separately with the needed freshness. Honestly about the conditions, this is key: ESI works only with support on the caching layer — Varnish or a compatible proxy/CDN with ESI is needed; on ordinary hosting without such a layer it is unavailable; we honestly check your infrastructure. Honestly about the niche: ESI is justified when a page is mostly static but has small personal inserts and high traffic; for most sites ordinary server/edge caching with exclusions (720/714) is simpler — we will not push ESI. Honestly about complexity and risk: it is a complex technique; wrong fragment markup/invalidation = stale or 'leaked' data; we test thoroughly. Honestly about the effect: for a fitting case the win is large and measurable (an almost fully cached page + fresh dynamic parts), but we do NOT guarantee sales growth by itself. Honestly about access: access to the server/proxy/code is needed. An important boundary: this is ESI, not server caching in general (720 — adjacent/often enough), not CDN edge cache (714) and not development. If there is no Varnish/compatible layer or the site does not fit the model, we honestly say you do not need ESI. Picture this: instead of 'the page is not cached because of one personal block' the whole base is served from cache and the cart/name are inserted separately. The base price starts from 18,000 ₽ per project; it depends on infrastructure and the number of fragments.

Problems we solve

  • The page is not fully cached because of a couple of personal blocks.
  • You want to cache almost everything but keep dynamic inserts.
  • High traffic on mostly-static pages with personalization.
  • You are not sure the infrastructure supports ESI.

What's included in the ESI (Edge Side Includes) service

  • Assessing ESI applicability and infrastructure support
  • Marking the page into a cacheable base and ESI fragments
  • Configuring the cache/proxy (Varnish or compatible)
  • Freshness and invalidation of dynamic fragments
  • Thorough testing (no stale/leaks)
  • A 'before/after' report by cacheability/load
  • An honest alternative recommendation if ESI is not needed
  • Handover and review with you

What you get

  • An almost fully cached page
  • Fresh personal fragments over the cache
  • Big offload at high traffic (for a fitting case)
  • An honest applicability assessment (sales growth — not guaranteed)

How the work goes: steps

  • We check infrastructure and applicability; if it does not fit — recommend simpler
  • We mark fragments, configure the cache/proxy and invalidation
  • We thoroughly test freshness, measure 'before/after', review with you

Why PDV Expert

  • Fixed price and timeline — no surprises on the invoice.
  • Report and recommendations in plain language — clear without a technical background.
  • In touch at every step and answering questions about the result.

FAQ

  • Do I really need ESI?

    Often no. ESI is justified at high traffic on mostly-static pages with small personal inserts and with a Varnish/compatible layer. For most, ordinary server/edge caching with exclusions is simpler. We will not push ESI — we assess honestly.

  • Will ESI work on my hosting?

    Only with support on the cache side (Varnish or a compatible proxy/CDN with ESI). On ordinary hosting without such a layer it is unavailable — we honestly check the infrastructure and say what is realistic.

  • Does it guarantee sales growth?

    No. For a fitting case ESI gives a big win in cacheability and offload, but sales depend on many factors. It is a performance technique, not a promise of revenue growth.

About the provider

The «ESI (Edge Side Includes)» service is provided by PDV Expert — a team specialising in «Site quality». We work under contract and deliver a written report with recommendations.

Prepared by PDV Expert · updated