The architecture of Experience Edge
Experience Edge is a highly scalable delivery platform that enables you to build Jamstack architectures on the SitecoreAI platform. The following diagram shows the data flow in an SitecoreAI solution with Experience Edge.
The Experience Edge delivery platform
The delivery platform gives you access to the delivery endpoint, where you can use the GraphQl API to pull all the published content. Experience Edge exposes item and layout data through a GraphQL API and media via a CDN. You can query item and layout data build-time for static site generation, at runtime for server-side render or incremental static generation, and directly from the browser for client-side rendering.
The Preview GraphQL endpoint
The Sitecore Headless Services module includes a GraphQL endpoint that mirrors the schema and behavior of Experience Edge. This enables preview, editing, and local development without publishing to Experience Edge.
Do not connect more than one Sitecore instance to an Edge instance.
Extending the mirrored schema is not supported because this would break compatibility with Experience Edge.
The Sitecore CLI Experience Edge plugin
The Sitecore CLI Experience Edge plugin provides commands for logging in, listing and choosing a tenant, and managing API keys for accessing the GraphQL endpoint from your preferred command line interface.
The plugin is available for Sitecore CLI version 5.1.25 and later.