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


#1

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


#2

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:


#3

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?


#4

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