Please make the Add to Wishlist button a generic action rather than embedding visitor-specific code into the HTML, and use AJAX to retrieve the current visitor’s wishlist information for that product if they click on the button
OR
Embed the generic Add to Wishlist button on the form (as you do today), and perform an AJAX request to get the user-specific fragment.
Why?
Currently, visitor-specific Wishlist code is embedded into the Add to Cart form, which prohibits us from using Cloudflare’s page caching functionality to mitigate heavy traffic.
My client sends email campaigns to 15,000+ members a few times a month, which means we get thousands of hits on the site, and each request has to be parsed by the server, causing performance issues.
Open
Last updated: June 4, 2023
0 comments
Log in to comment on this feature request.