Skip to content
Sign in
CacheSafe for WooCommerce icon

CacheSafe for WooCommerce

Check WooCommerce cart caching and session isolation.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

CacheSafe for WooCommerce checks cart caching and customer session isolation using controlled anonymous cart sessions. Use it to investigate whether caching could mix cart responses between sessions.

Run a manual scan, review the findings, and share a sanitized report with your developer or hosting provider. Results describe the tested requests and scan conditions; a passing scan is not a guarantee for every customer or cache path.

Scans create temporary anonymous carts using a configured test product. They do not place orders or process payments. CacheSafe provides guidance so you can investigate findings; it does not change cache settings automatically.

Manual scans, sanitized reports, provider guidance, and WP-CLI are included. Evidence stays on your site, with no telemetry or account required.

What it does

  • Preflight checks — WooCommerce pages, loopback reachability, Store API, test product, runner health, perspective
  • Manual staged scans — Store API Cart-Token A/B isolation plus classic cookie/add-to-cart flow where supported
  • 16 safety checks (CS-101–116) — headers, Set-Cookie, session isolation, replay, cleanup, perspective
  • Sanitized reports — copy or download JSON, text, or HTML without cookie values, tokens, or raw bodies
  • Provider guidance — evidence-linked remediation for generic stacks and common cache/CDN plugins
  • WP-CLI — wp cachesafe preflight, scan, status, report, cancel, cleanup, purge
  • Retention — keeps the last five completed scans within 30 days (configurable shorter); automatic daily purge

What it does not do

  • Place orders, process payments, or call checkout write endpoints
  • Change cache, CDN, DNS, or host settings automatically
  • Send telemetry or require an account
  • Show a numeric “safety score”

Admin

WooCommerce CacheSafe with tabs for Overview, Preflight, Live scan, Results, History, Settings, and Tools.

Privacy

All scan evidence stays on your WordPress site. CacheSafe does not phone home. Reports are sanitized to exclude cookie values, Cart-Tokens, nonces, Authorization headers, raw bodies, secrets, and customer PII. Retention is bounded and configurable; uninstall can remove plugin-owned data when enabled in Settings.

Development

Unminified JavaScript and CSS live in assets/src/. Built admin assets are written to assets/build/ via @wordpress/scripts.

To regenerate the compiled files from this plugin directory:

  1. npm install
  2. npm run build

    package.json and webpack.config.js ship with the plugin so the build can be reproduced without a separate repository.

Written by Joobi from the project's own listing. See the source page

cachecartsecuritysessionwoocommerce
30 Nov 2026
Version 1.0.7 released. Not scanned yet.

1.0.7

  • Avoid the observed in-process dns_get_record(DNS_AAAA) hang on some FPM/lab resolvers by resolving A/AAAA via getaddrinfo (socket_addrinfo_lookup) before destination checks.
  • Require callable PHP sockets address-resolution functions for secure scans; when unavailable, preflight and scan start fail closed with a clear hosting message (no subprocess, shell, external DNS, or A-only soft-allow).
  • Document remaining OS-blocking DNS limits (getaddrinfo has no PHP deadline). This is not a claim of application-bounded DNS.
  • Renamed the RestRegistrar PHP constant from NAMESPACE to REST_NAMESPACE to avoid a PHP 8.6 deprecation; REST URLs remain cachesafe/v1 (not a claim of full PHP 8.6 support).
  • Maintained admin JS/CSS lint tooling (classic TypeScript pin) and rebuilt admin assets from source.

1.0.6

  • Fixed cancelled scans remaining in cleanup when WP-Cron is disabled and scans are advanced through Live scan or WP-CLI.

1.0.5

  • Correct diagnostic snapshots so plugin-declared WooCommerce compatibility, the site’s HPOS enabled state, and cart/checkout page composition are reported as separate facts.
  • This correction may produce a one-time environment snapshot hash change on the first scan after upgrading.

1.0.4

  • Fixed a bootstrap failure when stored plugin settings contain malformed or out-of-range values.
  • Added fail-closed release-package validation and reproducible build checks.
  • Confirmed compatibility with WordPress 7.1.3 and WooCommerce 11.2.1.

1.0.3

  • Fixed incomplete classic-cart checks masking confirmed Store API cart-isolation failures.
  • Fixed installed-version tracking after in-place upgrades.
  • Kept decisive Critical summaries visible when another required core check is Inconclusive.
  • Expanded isolation and upgrade regression coverage.

1.0.2

  • Added detection for unsafe public caching of Store API cart responses
  • Restored cached-cart fragment-risk detection
  • Added fail-closed cart item-count consistency validation
  • Expanded unsafe-cache regression coverage
  • Confirmed WooCommerce 11.1 compatibility

1.0.1

  • Ship unminified assets/src plus build tooling in the distributable package for Guideline 4 source access
  • List WordPress.org username bananasaging in Contributors

1.0.0

  • Free v1.0 release: full manual scan pipeline, 16 checks, admin UI, WP-CLI, sanitized reports
  • Store API and classic cookie A/B session isolation in live scans
  • Automatic retention purge (daily cron + after scan completion)
  • Provider-aware remediation catalog (Cloudflare, LiteSpeed, WP Rocket, WP Super Cache, W3 Total Cache, host-cache)
  • Request-budget accounting and duplicate-finding fixes for live polling

0.1.0-alpha.0

  • Early lab scaffold and quality toolchain
8 Sep 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)