Bobcares

Rocket Loader Cloudflare WordPress | Activation Guide

by | Mar 15, 2024

Read the article to know more about enabling Cloudflare Rocket Loader on WordPress. As part of our WordPress Support Service, Bobcares provides answers to all of your questions.

Enabling Cloudflare Rocket Loader on WordPress

With the help of a lightweight virtual browser and a JavaScript loader, Rocket Loader allows us to safely run any JavaScript code after window.onload. If the website contains JavaScript, turning on Rocket Loader may enhance its window.onload time instantly. This can help in the Google search engine rating.

These are the different choices for Rocket Loader in Cloudflare’s performance settings.

1. Automatic Mode: After we enable automatic mode, Rocket Loader will work automatically on the JavaScript resources on the website, requiring no config.

2. Manual Mode: We need to add the attribute “data-cfasync=’true'” to the script tag in order to have Rocket Loader run for a specific script. For that specific script, we’ll enable Rocket Loader as the page goes via Cloudflare. Without affecting the script, Cloudflare won’t interfere with any other JavaScript runs.

In order to enable the Rocket Loader, we’ve to run the following steps:

1. Open the Cloudflare account and log in.

2. Select the domain on which we want to enable the Rocket Loader.

3. Select the “Speed” option from the page’s top menu.

4. Go to the Rocket Loader segment and adjust its settings to turn it on or off.

[Looking for a solution to another query? We are just a click away.]

Conclusion

We can optimize the loading of JavaScript resources on the WordPress website and boost its performance by turning on the Rocket Loader by following the above steps from our Experts.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.