How do I asynchronous load JavaScript resources with Cloudflare?

Rocket Loader™ will automatically asynchronous load your JavaScript resources, resulting in faster page rendering. Rocket Loader™ handles both inline and external scripts, while maintaining order of execution. In manual mode, you designate which scripts for Rocket to load asynchronously. Cloudflare will detect incompatible browsers and disable Rocket's loader. Requires JavaScript. Rocket Loader can be turned in on your Cloudflare settings for the domain by going to:

Speed > Scroll down to Rocket Loader

You can alternatively get to the Rocket Loader settings for a domain by going to:

Note:  If you find that features on your site are breaking because of Rocket Loader™, please turn this feature off and file a support ticket to us. If you would still like to use Rocket Loader so that it ignores certain scripts, please use a script tag before the script so Rocket Loader doesn't impact the script(s).

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk