Mamba Browser Caching

Mamba sets browser-level caching headers that fit how WooCommerce stores work — fast where safe, conservative where dynamic. This gives shoppers quick navigation while keeping user-specific data fresh and correct.


Catalog Pages

  • Catalog pages receive aligned Cache-Control headers with sensible TTLs.
  • Stale-while-revalidate and stale-if-error hints are added so browsers and edges can keep serving pages during transient issues.
  • TTLs are kept in sync with page cache for consistency across browser, edge, and origin.

Dynamic and Logged-in Contexts

  • Logged-in users, Cart, Checkout, and My Account receive conservative no-store/no-cache headers.
  • This prevents stale user-specific content and ensures nonces and actions remain valid in real time.

Why This Matters

  • Shoppers benefit from snappy back/forward navigation and fewer re-downloads.
  • Reverse proxies and CDNs can safely respect the headers without ever serving stale or private data.

Copyright 2025 - Mamba


Mamba mascot