Skip to content

Release 6.5.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 21:18
Version 6.5.0: WooCommerce Cart Caching

New card on the Edge Cache tab for WP Cloud's WooCommerce cart caching
(closed beta). Shoppers with items in their cart normally bypass Edge
Cache on every page; with it on they get the cached page and
WooCommerce fills in the cart with JavaScript. Cart and checkout are
never cached and logged-in users still bypass.

- Status, Enable (with confirmation) and Disable through
  query_ec_backend('woo_cart_cache'); locked with a note when
  WooCommerce is not active or Edge Cache is off.
- pcm_edge_feature_request() is the request helper Cache Preload
  already used, now shared by both features.

Tested on wooproducttest: with a real cart session, /, /shop/ and a
product page went from x-ac BYPASS to HIT; /cart/ and /checkout/ stay
BYPASS; the Store API cart stays per-visitor; disabling restores
BYPASS.

Co-Authored-By: Claude <noreply@anthropic.com>