Hello,
On our site, when WP Rocket is active, the “Add to Wishlist” button in the XStore theme only works after a full page reload — the Ajax functionality does not trigger.
We have already added the cookies xstore_wishlist_ids and xstore_wishlist_ids_0 to Never Cache Cookies, but the issue still persists. When loading the product page with the ?nowprocket=1 parameter (which disables WP Rocket), the Ajax wishlist works perfectly.
It seems the problem might be related to WP Rocket’s JavaScript optimizations (Delay/Defer/Minify JS). Could you please confirm the exact script file paths or handles related to the Wishlist feature (e.g., xstore-wishlist.js or relevant files inside the et-core-plugin) so we can exclude them from WP Rocket’s JavaScript optimization settings?
Thank you for your assistance.