Hi, I want to block all scripts that are not loaded from my website URL. as a result, I need to copy the code of Rocket Loader so my website would function as fast as I want. Can I copy the code of Rocket Loader? I don’t want to get into legal troubles
If you want to block external scripts (which is not what RocketLoader does) why don’t you just simply edit your existing code to remove them/ make them first party/ write your own?
Did you understand my question?
You’re certainly welcome to try this, but I wouldn’t count on it working consistently. Rocker Loader works in conjunction with Cloudflare proxying your JS. It does…whatever black magic…to your existing JS and uses Rocket Loader to make it more efficient.
If your goal is to speed up your website, you can do your own JS optimization. I generally don’t use Rocket Loader because my sites are pretty thoroughly optimized on their own.
I would love to visit your site and see how can we remove rocket loader completely and still have the same speed.