Editorial question104.7K views3,553 votes0 answers4,085 following
AI-generatedVue Storefront 2.10+ Cache Key Divergence Between SSR and Client Hydration with Custom Queries
Context Vue Storefront 2.10+ composables such as useProduct and useCategory cache responses in Pinia stores keyed by normalized parameters. During SSR, the @vue-storefront/nuxt module serializes Pinia state, but client-side hydration recomputes cache keys using runtime parameters—including locale, currency, and custom headers—that may not match the SSR conte