• Resolved mrimpact

    (@mrimpact)


    Hi guys,
    I performed some tests with the Speculative Loading plugin and everything seems to work perfectly.

    My question is:
    After installing the plugin, do I need to perform any additional configuration in WooCommerce, specifically on the My Account, Cart, and Checkout pages?

    Thank you for the incredible plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Hello! Early on we discovered a couple compatibility problems with WooCommerce:

    However, these have been fixed. I would double-check the same scenarios for your site, however. Make sure that merely hovering over a link/button to Add to Cart or Remove from Cart don’t result in any cart changes. Same goes for any other buttons/links that are supposed to change something. The right way to implement such links is to not use a link at all but a button element, in which case this is not an issue. Otherwise, when using a link, such URLs should always include a _wpnonce query parameter since they are “non-idempotent”, and the Speculative Plugin automatically excludes them from prerender/prefetch. (You can use Chrome DevTools for additional insights into the speculation rules on the page.)

    I hope it works well for you! Please let us know if you discover any issues and we can see about fixing them either in Speculative Loading or upstream in WooCommerce itself.

    Thread Starter mrimpact

    (@mrimpact)

    Hi Weston,
    Thank you very much for your quick response.

    I have done a lot of testing, everything seems beautiful, fast and functional.

    Thank you very much for this. Have a great day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.