Search⌘ K

Example

Explore how to implement server-side integration using Edge Side Includes (ESI) to assemble HTML from various microservices. Understand the role of Varnish cache in processing ESI tags, how a common service provides layout and CSS, and how individual microservices deliver their content. This lesson helps you build modular web pages with efficient caching and clear separation of concerns.

We'll cover the following...

Introduction #

The example shows how Edge Side Includes (ESI) can be used to assemble HTML fragments from different sources and how the entire HTML can be sent to the browser. For this, the HTML contains special ESI tags that are replaced by HTML fragments.

The drawing above shows an overview of the structure of the example.

  • The Varnish cache directs the HTTP request to the order
...