Serving And Caching
Shoppex serves hosted Liquid storefronts through its storefront edge. It handles:- custom-domain and shop-domain routing
- cache lookup and cache writes
- cache purge handling
- versioned public asset serving
- Liquid HTML delivery
- product stock calculation
- pricing rules
- checkout rules
- platform cache behavior
- fallback template lookup
Request Flow
Assets
Public assets are served from the published theme artifact underassets/.
Use assetUrl in Liquid:
Blocked Paths
_shoppex/ is reserved for platform internals and is not a public storefront path.
Do not put theme-owned public assets under _shoppex/.
Cache Behavior
In simple terms:- HTML can be purged when a theme publishes or settings change.
- Versioned assets can be cached longer because the artifact path changes.
- Preview sessions are isolated from live storefront cache.
Custom Domains
Custom domains are handled by Shoppex. Theme packages do not need custom-domain code.Next Steps
Server Liquid Rendering
How Shoppex builds Liquid HTML.
Troubleshooting
Fix stale pages, missing assets, and preview confusion.