Recently, I've been maintaining a WordPress + WooCommerce e-commerce site. The site has been live for some time and receives a fair amount of traffic.
To improve speed, the following optimizations have been implemented:
-
Enabled page caching (WP Rocket / LiteSpeed Cache, etc.)
-
Enabled object caching
-
The frontend uses AJAX (e.g., product filtering, loading more items, adding to cart).
The problems gradually began to surface:
-
AJAX filtering sometimes responds slowly.
-
In some cases, clicking the filter button does not respond.
-
The same page loads normally on the first visit but noticeably slower on the second.
-
Disabling the cache alleviates the issue, but slows down performance.
What's currently perplexing is:
👉 Does WooCommerce's AJAX functionality inherently conflict with caching mechanisms?
👉 Is this a cache configuration issue, or a limitation of WooCommerce itself?
I'd like to ask everyone:
-
How do you typically balance "performance optimization" and "AJAX working properly"?
-
Is it necessary to exclude certain AJAX URLs from caching individually?
-
Are there any cache settings that appear safe but actually affect WooCommerce behavior?



- newest
- hottest
See only the author.