How to disable rocketloader for two files?

Hi,

I am facing errors with Rocketloader as it is refusing to load a gzip compressed file with error “because its MIME type (‘’) is not executable, and strict MIME type checking is enabled.”.

Also its refusing to load the script from “https://images.dmca.com/Badges/DMCABadgeHelper.min.js”. How do I disable rocketloader on these two requests?

Use configuration rules to disable rocket loader for the URLs you need to…

https://dash.cloudflare.com/?to=/:account/:zone/rules/configuration-rules

I did create configuration, but it doesn’t work and RL is working on these URLs. Please check the screenshot, if the configuration is correct.

images.dmca.com isn’t on Cloudflare, so that part of the page rule will have no effect.
https://cf.sjr.org.uk/tools/check?d133d15c70974309afae88acb4264610#whois

Are you calling that script from another domain that is on Cloudflare? If so, you’ll need the page rule to disable rocket loader on that request instead.

images.dmca.com is not hosted on CF and is a 3rd party script from dmca.com, which rocketloader is not executing.
So, I also want rocketloader to exclude loading anything from domain images.dmca.com

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