Managing Cache
WandStore uses caching to deliver personalized storefronts at high speed. This page explains how caching works, what gets cached, and what merchants should know.
How caching works
Section titled “How caching works”WandStore caches personalized content at edge servers worldwide. When a customer visits your store, their personalized storefront is served from the nearest edge location, resulting in extremely fast load times — typically under 10 milliseconds.
The cache flow
Section titled “The cache flow”-
Merchant selects customers: You choose which customers (or segments) should receive personalized storefronts from the WandStore dashboard.
-
Ahead-of-time generation: WandStore generates personalized storefronts in the background and caches them at edge servers worldwide — before the customer visits.
-
Customer visits (cache hit): When the customer signs in, their pre-generated storefront loads instantly from cache. No waiting, no loading states.
-
Cache refresh and regeneration: Generated storefront content can be refreshed, replaced, or cleared as customer data, store settings, or merchant actions change.
What gets cached
Section titled “What gets cached”WandStore maintains several types of cached data:
| Cache type | What it contains | Duration | Scope |
|---|---|---|---|
| Personalized storefront | The AI-generated HTML for each customer | Implementation-dependent | Per customer |
| Product data | Your store’s current product catalog | Implementation-dependent | Shared |
| Customer profile data | Customer and order context used for personalization | Implementation-dependent | Per customer |
| Session and auth state | Authentication and session state used by app features | Implementation-dependent | Per customer |
Cache controls
Section titled “Cache controls”Use the app dashboard when you need to:
- Clear generated storefront content for a customer
- Trigger fresh generation for a customer
- Refresh content after store setting changes or merchandising updates
When does the cache refresh?
Section titled “When does the cache refresh?”The cache refreshes automatically in these situations:
- Customer or order data changes — Updated Shopify data can lead to new generated content.
- Settings change — Changing WandStore settings can invalidate related generated content.
- Merchant actions — A merchant can clear or regenerate a customer’s storefront content from the app workflow.
Do I need to clear the cache manually?
Section titled “Do I need to clear the cache manually?”In most cases, no. WandStore handles routine cache management automatically.
However, if you need content to update immediately, you can trigger a refresh or regeneration from the WandStore dashboard.
Impact on your Shopify theme
Section titled “Impact on your Shopify theme”WandStore’s caching is independent of Shopify’s theme caching. It doesn’t interfere with:
- Shopify’s CDN cache for theme assets
- Your theme’s liquid rendering cache
- Browser caching of CSS, JS, or images
The two systems operate in parallel without conflict.
Performance numbers
Section titled “Performance numbers”| Scenario | Typical load time |
|---|---|
| Personalized storefront (from cache) | Under 10ms |
| Background generation (merchant-triggered) | 2-8 seconds (invisible to customer) |
| Product data refresh | Under 500ms |