NextGen Gallery with CloudFlare's Rocket Loader
-
Hi, It seems my NextGen Gallery Plugin Does not work properly with CLoudflare’s RocketLoader.. Any fix for this? I want to make it work… please…
Rocket Loader™ (Web optimization)
/ BetaAutomatically asynchronously load all JavaScript resources
https://support.cloudflare.com/hc/en-us/articles/200168056
Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload.
Turning on Rocket Loader will immediately improve a web page’s window.onload time (assuming there is JavaScript on the page), which can have a positive impact on your Google search ranking.
Here are the different settings that can be found for Rocket Loader under your CloudFlare account’s performance settings:
Automatic Mode: Rocket Loader will automatically run on the JavaScript resources on your site, with no configuration required after turning on automatic mode.
Manual Mode: In order to have Rocket Loader execute for a particular script, you must add the following attribute to the script tag: “data-cfasync=’true'”. As your page passes through CloudFlare, we’ll enable Rocket Loader for that particular script. All other JavaScript will continue to execute without CloudFlare touching the script.
The topic ‘NextGen Gallery with CloudFlare's Rocket Loader’ is closed to new replies.