Active rule to disable ROCKET LOADER on a certain PAGE - still showing .js

What is the name of the domain?

www.happyathome.ro

What is the error number?

What is the error message?

What is the issue you’re encountering

To DISABLE the ROCKET LOADER on a specific page on my site, I configured a RULE, which seems totally accepted & active by Cloudflare, but fails at testing. The ’ rocket-loader.min.js’ still appears in DevTools test.

What steps have you taken to resolve the issue?

In 2 ways I tried the configuration:
(1) URI PATH + Equals + /xxx
And
(2) URI Full + contains + full path .

Not sure why the rule doesn’t work.

Screenshot of the error

I’d suggest using URI path contains assess-st-quiz. Could you give it a try and re-test in a different Web browser or using Incognito mode few minutes after to apply it? :thinking:

The Configuration Rule should have Rocket Loader feature “expanded” and then disabled (grey color toggle) as follows on below screenshot:

1 Like

Thank you so much for your reply, Fritex!

Unfortunately I had tested all possible variants, one by one, but it’s not working.

Now I placed them all together with OR :-), but still no.

The solution I ultimately applied is to remove Rocket Loader altogether :-(((
Only this way the page displays the Quiz I have placed on it.
Thanks a lot anyway!

For URI Path there is no need to add the forward slash /, just contains assess-st-quiz.

Otherway would be, if you can manage to add data-cfasync='true' attribute at your <script> tag before the src attribute to disable rocket loader as follows here:

Which is what I can see rocket loader not anymore loading at your whole Website.

Thank you so much for your patience.

I corrected the rule as per your suggestion.

And I will just keep the TOTAL DISABLING of the Rocket Loader, it’s just simpler for me.

(Following your comment I did a more thorough research / chatgpt to explain stuff to me… I am an interior designer after all, even if I was good at science & stats :-)).)

Thanks again for your input !

1 Like

You could flip the rule logic. If you have Rocket Loader disabled, try creating a rule where if path “does not contain” this, AND URI “does not equal” that, then enable Rocket Loader.

1 Like

Thanks, Sdayman!
I’ll try that !

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.