How can I remove the rocket loader script from the header tag on my website?

How can I remove the rocket loader script from the header tag on my website?

To turn off Rocket Loader for your whole site, click off in the Performance tab of your Cloudflare Dashboard.


If you want to turn Rocket Loader off for only a few script while using Automatic Mode, here’s a guide:

If you want to select which script to execute Rocket Loader on, change it to Manual Mode and add data-cfasync='true' attribute at your <script> tag before the src attribute.

Here’s more info about Rocket Loader benefits:

Thanks for your responds. I turned off the Rocket Loader setting in the performance tab, but I still see the script in the header tag. Do you know how long it takes to clear?

Try Clear Cache (All) from the Cloudflare Speed tab.