Questions tagged [rocket-loader]

Rocket Loader is a web optimization feature from Cloudflare. It speeds up the load times of web pages by using a virtual browser to run JavaScript files after window.onload, and minimize network connections by bundling requests together.

Rocket loader does a bunch of things:

  1. It ensures that all the scripts on your page will not block the content of your page from loading;
  2. Loads all the scripts on your page, including third party scripts, asynchronously;
  3. Bundles all the script requests into a single request over which multiple responses can be streamed;
  4. Uses LocalStorage on most browsers and nearly all smart phones to more intelligently store scripts so they aren't refetched unless necessary.

Source

8 questions
5
votes
0 answers

rocketloader.js - Placeholder for script was detached from document. Script will not be executed

Deploying my web application to a test IIS server and giving it a run, the following message appears in Chrome console: [ROCKET LOADER] Placeholder for script was detached from document. Script will not be…
Notaras
  • 611
  • 1
  • 14
  • 44
2
votes
0 answers

Can't disable Cloudflare's Rocket Loader for specific scripts. What am I doing wrong? Wordpress

I'm trying to disable Cloudflare's Rocket Loader for specific scripts. At first I'm trying to disable it for mobile slider. I tried various combinations of this (and every other I found on StackOverflow) code: add_filter( 'script_loader_tag',…
kacper3355
  • 67
  • 1
  • 8
2
votes
1 answer

Cloudflare Rocket loader Causing js errors ($ not defined)

Cloudflare Rocket loader Causing js errors ($ not defined). Issue is only on one page. Other than that site is working fine. I am using osclass CMS for my project. It has a subscription functionality which have a large hidden field. When rocket…
Usman Ashraf
  • 21
  • 1
  • 5
1
vote
1 answer

Cloudflare Rocket loader blocking JS

I want to use rocket loader on my page, but when it is on when you come to the page for very first time script freeze and works correctly after refreshing. After entering the page for the first time, to the page 3 scripts from cloudflare are added…
1
vote
2 answers

Cloudflare RocketLoader onloadstart issues

Cloudflare has added the RocketLoader option which adds if (!window.__cfRLUnblockHandlers) return false; to my onloadstart.
newcool
  • 319
  • 2
  • 20
1
vote
1 answer

Ignore Cloudflare Automatic RocketLoader for specific JavaScript

I need to disabled Cloudflare Rocketloader for a specific JavaScript file and I have spent a few hours reading and trying out different solutions with no success. I am running WordPress and need to omit the Automatic Rocket Loader for a specific .js…
0
votes
0 answers

How to disable Cloudflare's Rocket Loader for specific scripts? Wordpress

I'm trying to disable Cloudflare's Rocket Loader for specific scripts. At first I'm trying to disable it for mobile slider. I tried various combinations of this (and every other I found on StackOverflow) code: add_filter( 'script_loader_tag',…
kacper3355
  • 67
  • 1
  • 8
-1
votes
1 answer

CSP, RocketLoader and Nginx?

So I'm trying to avoid using (another) page rule to disable Rocketloader for one of my subdomains, since we can't use a RegEx to select multiple specific subdomains under a single page rule, and only get 3 page rules for free accounts. According to…
J. Scott Elblein
  • 4,013
  • 15
  • 58
  • 94