Storefront X3 — Edge-Rendered Commerce That Survives Flash Sales
92ms global p95 TTFB. One renderer for headless and hosted — zero feature drift between them. ISR with targeted on-demand invalidation, native AB testing, edge personalization, 28-market i18n, and white-label iOS + Android apps. None of these are add-ons. They are the storefront.
The Value Store moved their entire multi-category catalog off OpenCart onto Storefront X3 and retired their plugin stack. Twetra shipped three switchable seasonal themes from one tenant in days. Both run on the same shared edge runtime, no special tier required.
10 deep-dive features
Headless + Hosted Parity
ArchitectureOne renderer, two delivery modes — zero feature drift between them.
Most platforms treat headless and hosted as two separate products maintained by different teams. Features land in one mode months before they appear in the other. Storefront X3 eliminates this entirely: there is one React renderer and one component registry. When you run in hosted mode, the platform owns the edge deployment. When you run in headless mode, you deploy the same renderer package to your own infrastructure. The content model, section registry, section configuration schemas, personalisation rules, AB tests, theme tokens — everything is stored in the platform and consumed identically by both modes.
Migrating between modes is a deployment-configuration change, not a content model rebuild. You do not need to re-enter product descriptions, re-author banners, or rewire checkout. We tested this with a 380-SKU electronics brand that switched from hosted to a Cloudflare Workers deployment in 4 hours with zero customer-visible downtime.
- Single renderer package consumed by both modes
- Content model, sections, and AB tests are mode-agnostic
- Migration between modes: config change, not content rebuild
- Component registry is versioned — both modes always on same version
- Headless mode ships as a typed npm package with full TypeScript support
- No commercial tier difference — both modes at every plan level
ISR + On-Demand Revalidation
CachingTargeted page-level cache purge on price or stock change, stale-while-revalidate, HTML cached at edge in single-digit milliseconds.
Storefront X3 pre-renders every category, product, and landing page at build time and pushes the HTML to edge nodes across 310 PoPs. Subsequent requests are served from memory — no database round-trip, no server compute. The median response from cache is 4ms at p50, 11ms at p95.
When a product price changes in the admin, the platform emits a targeted invalidation event scoped to that product's URL, any category pages it appears on, and any bundles it participates in. Invalidation fan-out completes in under 800ms globally. During the invalidation window, stale-while-revalidate ensures the edge continues serving the previous cached page rather than falling through to origin — eliminating the cold-cache latency spike that plagues deploy-based cache invalidation strategies.
Flash-sale operators frequently update prices for thousands of SKUs simultaneously. X3 batches these invalidation events, coalesces overlapping category invalidations, and respects a configurable per-page revalidation budget to prevent thundering-herd on origin. Real-time price changes reflect at the edge within 30 seconds for 99th-percentile product catalogs.
- 4ms p50, 11ms p95 from edge cache — no DB round-trip
- On-demand invalidation fan-out across 310 PoPs in <800ms
- Stale-while-revalidate during invalidation — zero cold-cache spikes
- Batched invalidation with coalescing for mass price updates
- Configurable revalidation budget per page type
- Build-time pre-render + runtime ISR — best of both strategies
Drag-and-Drop Section Builder
CustomizationTyped React component registry, auto-generated forms from Zod schema, staging preview URL, section versioning, and full undo/redo.
Every visual section in Storefront X3 — hero banners, product grids, testimonial sliders, countdown timers, video embeds, FAQ accordions — is a typed React component registered in the section registry. Each section exports a Zod configuration schema. The admin Section Builder reads that schema at runtime and auto-generates a structured form: string fields become text inputs, enum fields become dropdowns, boolean fields become toggles, image fields open the media picker with upload + CDN delivery built in.
Merchants drag sections onto the page from the palette, reorder them, configure them in the sidebar, and see a real-time preview in the right panel. The preview is the actual renderer running in an iframe pointed at the staging environment — not a simulated mock. What the merchant sees in the builder is bit-for-bit identical to what customers see in production.
Section configurations are versioned. Every save creates an immutable snapshot. Undo/redo traverses this snapshot history with O(1) state restoration — the system diffs snapshots at section granularity so reverting one section does not affect siblings. Publishing pushes the live configuration atomically via a single write to the edge config store, which propagates to all edge nodes in under 2 seconds.
- Zod-schema-driven auto-generated config forms — no bespoke admin UI per section
- Live preview in actual renderer iframe, not a mock
- Full undo/redo with per-section snapshot diffing
- Atomic publish — edge config propagates in <2s
- Section versioning: every save is an immutable named snapshot
- Staging preview URL shareable with stakeholders before going live
Edge Personalization
ConversionSegment token resolved in the edge worker — hero, price badge, and CTA swapped per segment with segment-level caching, not user-level.
True user-level personalisation at scale is an infrastructure nightmare: you cannot cache user-specific HTML at the edge without either exploding your cache key space or falling back to uncacheable server-rendered responses. X3 solves this with segment-level caching, which gives you 90% of the conversion lift at 1% of the infrastructure cost.
When a visitor hits the storefront, the edge worker reads lightweight signals: the segment cookie set on last visit, the geographic region from the request metadata, the device class (mobile/desktop/tablet) inferred from the User-Agent. It maps these to a segment identifier — for example, "IN-mobile-returning" or "US-desktop-new". The edge worker then serves the pre-cached HTML variant for that segment. No origin request. No database lookup.
The admin rule builder lets merchandisers define segments and configure what changes per segment: the hero image and headline, the promotional badge on product cards ("Free shipping for you"), the featured products grid order, and which payment methods appear first at checkout. Each variant is pre-rendered and cached separately at the edge. X3 supports up to 512 concurrent segments per storefront. A/B test variants count as segments, so personalization and testing share the same infrastructure.
- Segment resolution in edge worker — zero origin round-trips
- Segment-level HTML caching: 512 concurrent segments per storefront
- Hero, price badge, CTA, product order all per-segment configurable
- Signals: segment cookie, geo, device class, referral source
- Admin rule builder with drag-and-drop priority ordering
- AB test variants share the same segment cache infrastructure
International Commerce — 28+ Markets
GlobalCLDR-correct currency formatting, market bundles (locale + currency + tax + shipping + payment), RTL, fallback chains, hreflang, and translator workflow with status tracking.
Going international is not a plugin. It requires every layer of the commerce stack — pricing, tax, fulfilment, payment methods, content, and URLs — to be aware of market context simultaneously. Storefront X3 models this as Market Bundles: a named configuration that ties together a locale (language + region), a display currency with CLDR-correct formatting rules, a tax strategy (inclusive or exclusive, VAT-registered or not), a shipping zone set, and an allowed payment method list. Switching a visitor to a different market switches all of these atomically from a single market identifier.
Currency display uses CLDR data directly: ₹1,23,456.78 in India (lakh grouping), $1,234.56 in the US, 1.234,56 € in Germany. FX rates are updated every 15 minutes from a blended rate feed; merchants can add a spread margin per currency. Prices can be set explicitly per market or derived from a base currency with the spread applied.
The multilingual system supports RTL layouts (Arabic, Hebrew, Urdu) with automatic logical property substitution (margin-inline-start instead of margin-left) at the CSS token layer — no theme modifications required. Each language-market combination gets its own hreflang tag set and sitemap entry. The translator workflow in the admin shows content coverage per locale, surfaces untranslated strings, and tracks translation status (draft / in-review / published) per content block.
- Market bundles: locale + currency + tax + shipping + payment in one config
- CLDR-correct currency formatting including lakh grouping for South Asia
- FX rates updated every 15 minutes with configurable spread margin
- RTL support via CSS logical properties — zero theme changes required
- Translator workflow with per-locale coverage tracking and status flags
- Automatic hreflang generation and per-market sitemap entries
Progressive Web App
MobileService worker, beforeinstallprompt, standalone mode, Web Push notifications, and instant OTA updates without App Store review cycles.
The Storefront X3 PWA layer is built on Workbox with a configuration optimized for commerce: shell caching for the app frame, network-first for cart and checkout endpoints (where stale data is harmful), and stale-while-revalidate for product listing pages (where a slightly stale page is fine and speed matters more). The service worker is generated per-tenant at build time so cache strategies can be tuned per page type.
Install prompts appear on the second visit using the beforeinstallprompt event, with a configurable deferral strategy. The installed experience runs in standalone display mode with the tenant's brand colors in the address bar theme-color meta tag and a full-screen splash screen using the tenant's uploaded logo. On Android, the TWA (Trusted Web Activity) wrapper allows listing the PWA on the Google Play Store as a native-feeling app.
Web Push notifications are wired directly to the platform's customer record. Subscription tokens are stored against the unified customer profile alongside email and SMS opt-ins, so a single broadcast from the admin can reach customers across all three channels simultaneously. Push payloads support deep links into product pages, cart, and order tracking. Update deployment to the service worker is instantaneous — no App Store review, no staged rollout delay.
- Workbox service worker with per-page-type cache strategy configuration
- beforeinstallprompt with configurable deferral and A/B-testable timing
- TWA wrapper for Google Play Store listing at no additional cost
- Web Push tokens stored in unified customer record alongside email/SMS
- OTA updates — service worker changes deploy instantly without review
- Standalone mode with tenant brand colors in system chrome
Native AB Testing
OptimizationDeterministic edge bucketing with zero flicker, real order and revenue events (not proxy metrics), bayesian significance, and pause/force-assign from admin.
Third-party AB testing tools insert JavaScript that runs after the page loads and swaps DOM elements — the original variant flashes for 50–300ms before the test variant renders. This flicker degrades the user experience and inflates bounce rates on the test itself. X3 AB testing runs in the edge worker before any HTML is sent to the browser: the bucket assignment happens at request time, and the correct variant HTML is served directly. The browser never sees the original variant.
Bucket assignment is deterministic via a hash of the visitor's stable identifier (the session token) XOR'd with the experiment ID. The same visitor always gets the same variant across sessions and devices as long as they are logged in. Anonymous visitors are assigned on first visit and the assignment is stored in a first-party cookie that survives browser restarts but not private browsing — consistent with privacy regulations.
Significance is computed using a Bayesian model with a configurable prior. The admin dashboard shows posterior probability of each variant being the best, expected loss if you shipped the current leader right now, and uplift credible intervals at 90% and 95% confidence. Metrics are real commerce events — checkout initiated, order placed, revenue per visitor — not page views or clicks. You can pause an experiment mid-run, force-assign a specific variant for QA, or override the bucket for a specific customer ID from the admin.
- Edge bucketing before HTML is sent — zero DOM flicker
- Deterministic assignment: same visitor, same variant, across sessions
- Bayesian significance model with configurable priors
- Revenue-per-visitor and AOV as primary metrics — not proxy clicks
- Pause, resume, and force-assign from admin without a code deploy
- Up to 5 concurrent experiments per storefront with traffic split controls
Native iOS + Android Apps
MobileWhite-label per-tenant mobile shell that loads the live storefront renderer, configurable from Settings > Mobile App, push tokens unified into the customer record.
Storefront X3 ships a white-label React Native shell for iOS and Android. The shell is thin: it handles system integrations (biometrics, push notification permission, camera for barcode scanning, haptic feedback, in-app review prompts) and loads the storefront renderer via a WebView bridge. Because the renderer is the same code running on web, all storefront updates are live immediately — the mobile app does not need an App Store update when the merchant changes their catalog, theme, or promotions.
Tenant configuration happens in the admin at Settings > Mobile App. Merchants upload their app icon, splash screen, and brand palette. They configure deep link routes, the bottom navigation tab structure, and whether to enable biometric login. The platform generates a signed build submitted to the App Store and Google Play under the tenant's developer accounts. Subsequent updates that only change renderer content go live without a new build submission.
Push notification tokens from the mobile app are stored in the same customer record as Web Push tokens and marketing email/SMS opt-ins. The unified customer comms layer lets the platform pick the best channel per customer: if the customer has the mobile app installed and push enabled, mobile push is preferred over email for time-sensitive order status notifications. A server-driven force-update gate allows the platform to require a minimum app version before the user can proceed, preventing stale clients from hitting deprecated API endpoints.
- White-label React Native shell per tenant, submitted to App Store + Play Store
- Renderer updates go live without a new app build or store submission
- Configurable tab navigation, deep links, and biometric login from admin
- Push tokens unified with email/SMS in one customer comms record
- Server-driven force-update gate for minimum version enforcement
- Barcode scanner, haptic feedback, and in-app review prompts built in
Theme System
DesignCSS variable token pipeline, hot-reload in under 8 seconds, instant revert, per-tenant theme_overrides, and a live-preview theme editor.
The Storefront X3 theme system is built on a two-layer CSS variable architecture. The first layer is the global token set: color primitives (brand-500, accent-400, ink-950), typography scale, spacing rhythm, border radius, and shadow definitions. The second layer is the semantic token set: button-background, card-border-color, price-text-color — these reference global tokens and are what component stylesheets consume.
Merchants customise the semantic token layer in the admin theme editor. The editor shows a live preview of the storefront that updates in real time as tokens change. Saving a theme creates a new theme_overrides record in the database; the storefront picks up the override set on next request and injects it as a :root style block. From save to visible in the edge-cached preview is under 8 seconds: theme invalidation has its own fast-path that bypasses the full ISR revalidation pipeline.
Each tenant has exactly one active theme. Super-admins can create new themes in the qos_themes catalog. When a merchant first opens the theme editor, the platform clones the base theme into a tenant-owned draft so changes are isolated. The base theme stays intact and can be updated by the platform without affecting merchant customisations. Reverting to base is a single button click that deletes the theme_overrides record and invalidates the edge cache for that tenant.
- Two-layer CSS variable architecture: global primitives + semantic tokens
- Hot-reload in <8s via fast-path theme invalidation
- Live preview in actual storefront renderer — not a simulated canvas
- Per-tenant theme_overrides cloned from base on first edit
- Super-admin theme catalog (qos_themes) updated without affecting tenant overrides
- One-click revert to base theme with immediate edge cache invalidation
CMS & Content Blocks
ContentNews ticker, banners, landing page builder, blog, FAQ, product stories, and structured data — all admin-editable without a code deploy.
Every content surface in Storefront X3 is managed through the CMS layer, not hardcoded. The news ticker — used by brands like Aaladipattiyan to announce flash sales, seasonal promotions, and delivery updates — is a CMS content type with scheduling: configure when it appears, when it disappears, and what it says, all without a developer. Banners, hero images, and promotional overlays follow the same pattern.
The landing page builder extends the Section Builder to standalone URLs. Merchants can create /sale/diwali or /brand/partnership pages with a custom section layout, their own SEO metadata, and tracking UTM parameters — without involving engineering. These pages are pre-rendered as ISR routes and cached at the edge like any other storefront page.
The blog CMS supports rich text (with embedded product references that resolve to live price and availability), author profiles, tag taxonomy, and a reading time estimate. Blog posts generate structured data (Article schema, BreadcrumbList) automatically. The FAQ CMS generates FAQ schema markup, improving search result appearance with expandable answers in Google. All structured data is injected server-side in the <head> — not client-rendered — ensuring it is indexed on first crawl.
- News ticker with time-based scheduling and per-device visibility rules
- Landing page builder at custom URLs — ISR cached, SEO-ready
- Blog with embedded product references resolving to live price/stock
- FAQ CMS with automatic FAQ schema structured data injection
- Article, BreadcrumbList, Product, and Organization schema auto-generated
- All structured data server-rendered in <head> — indexed on first crawl
Core Web Vitals & Lighthouse
These are not synthetic benchmark numbers on a localhost machine. They are measurements taken on live tenant storefronts over 30-day rolling windows using real-user monitoring and Lighthouse CI runs on every deployment.
| Metric | Score | Context |
|---|---|---|
| Lighthouse Performance | 98 | Measured on hosted mode, median over 30 days |
| Lighthouse Accessibility | 100 | WCAG 2.1 AA — enforced at CI for all sections |
| LCP (Largest Contentful Paint) | 0.8s | p75 on 4G, pre-rendered hero image in ISR cache |
| INP (Interaction to Next Paint) | 62ms | p75, product listing page add-to-cart interaction |
| CLS (Cumulative Layout Shift) | 0.01 | Image dimensions enforced in section schema; no layout shift |
| TTFB Global p95 | 92ms | 310 PoP edge network; includes TLS handshake |
| Cache hit ratio | 97.4% | Across all ISR-eligible routes; measured on live tenants |
Edge CDN Architecture
Requests hit the nearest of 310 PoPs globally. Each PoP runs the edge worker (TypeScript, V8 isolate) that handles: segment resolution, AB bucket assignment, theme token injection, and ISR cache lookup. A cache hit returns HTML directly from memory — no network hop to origin. A cache miss or stale entry triggers a background revalidation request to the regional origin (Next.js server on Vercel or Cloudflare Workers), which runs the React renderer against the tenant DB read replica and writes the fresh HTML back to the edge cache before responding.
The tenant database is a dedicated Neon Postgres instance with a connection pool and a read replica in the same region as the origin. Product and price data is hot-cached in the edge worker KV store (Cloudflare KV or Vercel Edge Config depending on deployment target) with a 15-second TTL — this covers the tail of the ISR invalidation fan-out window and prevents any origin query for catalog data on cache misses.
X3 Storefront vs Shopify Liquid vs BigCommerce Stencil vs MACH
This table reflects the actual architectural differences between approaches, not marketing positioning. MACH (Microservices, API-first, Cloud-native, Headless) is an architectural philosophy, not a product — what it costs in engineer-hours is part of the comparison.
| Aspect | Storefront X3 | Shopify Liquid | BigCommerce Stencil | MACH Headless |
|---|---|---|---|---|
| Rendering model | Edge ISR — pre-render + targeted purge | Liquid — server-rendered per request; no ISR | Stencil — server-rendered; CDN full-page TTL cache | Fully headless — developer-managed; varies by implementation |
| TTFB (p95 global) | 92ms from 310 PoPs | 250–600ms (Shopify's own reports, varies by theme) | 200–500ms server-rendered | Depends on implementation; 80–300ms typical |
| Section/block editing | Drag-and-drop, live preview in real renderer | Theme editor — Liquid sections, JSON templates | Page Builder — widget-based, limited section types | Composable CMS required (Contentful, Sanity, etc.); extra cost |
| AB testing | Native edge bucketing — zero flicker, revenue metrics | No native AB; requires Optimizely or VWO (flicker) | No native AB; third-party required | Developer implements; typically edge middleware with third-party stats |
| Personalization | Edge segment caching — 512 segments, zero latency | Liquid: audience-gated sections; no edge variant caching | Customer group-based; server-rendered; no edge caching | Implementor responsibility; edge workers add complexity |
| International | 28+ market bundles — currency, tax, shipping, payment, locale | Markets — good multi-currency, but per-language stores at Plus tier | Multi-storefront — separate storefronts per market | Full control but fully implementor-built |
| Native mobile apps | White-label iOS + Android shell per tenant, live renderer updates | No native shell; third-party headless mobile required | No native shell; third-party mobile required | Implementor builds with React Native or Flutter |
| Theme system | CSS variable tokens, <8s hot-reload, tenant override isolation | Liquid + CSS; Dawn theme; Shopify CLI for development | Stencil CLI; Handlebars; less component composability | Implementor-defined; total flexibility, total responsibility |
Data sourced from platform documentation, community benchmarks, and direct measurements on live storefront instances. Shopify TTFB figures from Shopify's own performance blog (2024). MACH figures are representative implementations; actual results vary significantly by engineering team.
Built for specific operating conditions
Generic storefront platforms optimize for the median use case. Storefront X3 is designed for the stress cases — the scenarios where generic platforms break.
Flash Sale Operations
Price updates propagate to the edge in under 30 seconds via targeted ISR invalidation. AB testing determines the highest-converting countdown timer placement before the sale goes live. Segment rules surface the flash-sale hero only to customers in the target geography or loyalty tier. The edge absorbs 100k RPS at peak without scaling origin infrastructure.
Multi-Brand Storefronts
A single QuantumOS X3 instance hosts unlimited tenants, each with isolated theme_overrides, section configurations, and domain mappings. A holding group operating three distinct brands — premium, mid-market, and outlet — runs all three from one admin without shared branding leaking across storefronts. Each brand has its own mobile app shell submitted separately to the App Stores.
International Expansion
Launch a new market by creating a Market Bundle: select the locale (en-AE, ar-AE for UAE bilingual), tie it to a dedicated currency (AED with inclusive VAT), configure a UAE-specific shipping zone, and add the region's preferred payment methods (KNET, Tabby BNPL). The platform generates the hreflang tags, per-market sitemap, and RTL CSS logical properties automatically. Time to market: under 2 hours from zero to live.
PWA-First Brands
Brands targeting markets with patchy connectivity (tier-2 cities in South Asia, rural Southeast Asia) rely on the Workbox service worker for offline browsing. Customers can browse the full catalog, add to cart, and check delivery eligibility without a network connection. Purchases sync when connectivity returns. Web Push replaces SMS for order status updates at a fraction of the cost, with deep links back into the installed PWA.
Real tenants, real load
Every feature described on this page is measured against live traffic from production tenants — not synthetic benchmarks in isolation.
Migrated off OpenCart — multi-category catalog, native search, multi-location stock, unified order ledger, no plugin stack.
Complete tenant stood up in days — 2,600+ products, 3 switchable seasonal themes, on the shared edge runtime.
Direct-to-consumer hosted storefront with native checkout on the shared edge runtime.
Deep attribute-rich catalog on a fully isolated dedicated database — BYO-DB tenant isolation in production.
QuantumOS Dispatch
Weekly insights for commerce operators
100 competitive moats, real operator stories, platform updates. No fluff. Every Tuesday.
No spam. Unsubscribe any time. 60k+ readers.