From an in-memory cache & pub/sub layer
If your stack uses a hosted in-memory key-value store for read-through caching and pub/sub fan-out to the frontend, this page covers what moves to the browser, what stays exactly where it is, and the failure modes — stampede, connection cost, offline blindness — that don't have to exist once the cache lives on the client that's actually reading it.
- An existing setup using a hosted in-memory store for UI-facing read caching and/or pub/sub updates
- A registered Flux store per cached resource — see api/register if you haven't set this up yet
- A realtime adapter if you're migrating pub/sub, not just caching — see adapters/supabase, adapters/socketio, adapters/sse, or adapters/websocket
The pattern, not the product
What this costs that doesn't show up until you're paying for it
Read-through caching → registered stores
Pub/sub fan-out → realtime adapter
Cache stampede specifically
Per-user cache keys → session scoping
Storage scoping and clearUserSession() are available on every tier, including free — see core-concepts/multi-tenant-scoping for the full three-layer isolation model.
What doesn't move
When this migration is a bad fit
For what a browser-native cache does and doesn't replace in more detail, see core-concepts/what-flux-is-not. For the multi-tenant isolation model referenced in Step 6, see core-concepts/multi-tenant-scoping. For wiring a realtime adapter, see adapters/supabase, adapters/socketio, adapters/sse, or adapters/websocket.