> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shoppex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Serving And Caching

> How Shoppex serves ThemeDocument storefronts, assets, domains, and cache revisions.

# Serving And Caching

Shoppex resolves the merchant domain at the edge, renders the published
ThemeDocument, and caches HTML by document and renderer revision.

* Publishing creates a new immutable document revision.
* Renderer releases use a separate renderer revision.
* Public assets use immutable versioned URLs.
* Custom-domain routing and cache purges are platform-owned.
* Protected downloads and private document state are never exposed through the
  public asset handler.

If a shop has no valid published document or serving admission, the storefront
uses the normal unavailable response. It does not fall back to another theme
source.
