Cached pages break AJAX add-to-cart
AJAX add-to-cart fails or shows an empty or stale cart on pages served by page caches such as WP Rocket, LiteSpeed or Cloudflare APO.
Tier I · Proven The best-established problems.
7 public reports · first reported 21 March 2023 · last reported 19 March 2026
What's going wrong
Many site owners report that AJAX add-to-cart breaks when a page cache or optimizer is active.
AI-assisted: written with the help of AI from the reports. The idea report has the full summary.
In the idea report
- The full summary.
- The products the 7 reports are about, and how many came each month.
- Related problems.
No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.