Serving And Caching
This page applies to custom code themes (forked or imported Liquid packages). Hosted themes are also rendered and served by Shoppex at the edge — you do not need this page for them.
- custom-domain and shop-domain routing
- caching and cache purges
- versioned public asset serving
- HTML delivery
- product stock calculation
- pricing rules
- checkout rules
- platform cache behavior
- fallback template lookup
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 refreshed when a theme publishes or settings change.
- Versioned assets can be cached longer because the artifact path changes.
- Preview URLs never affect your live storefront.
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.