So I want to enable CloudFlares
Rocketloader
feature on my site as it significantly improves the load times of my page.
Thing is, the Add to Cart button doesn’t load when it’s enabled.
The CloudFlare
documentation states:
“You can have Rocket Loader ignore individual scripts by adding the
data-cfasync=”false” attribute to the relevant script tag”
I think I need to add the above code to the correct script but I have no idea what the script is called or where it is.
Any help would be greatly appreciated. Thanks
The ignore option doesn’t always work (kind of complex). Is it just happening on a specific URL, such as yoursite.com/checkout? If yes, then you might want to look at turning off Rocket Loader on that URL with a PageRule.