Enable
To enable or disable Rocket Loader, use the following instructions.
To enable or disable Rocket Loader in the dashboard:
-
In the Cloudflare dashboard, go to the Speed > Settings page.
Go to Settings -
Go to Content Optimization.
-
For Rocket Loader, switch the toggle to On.
If you have a Content Security Policy (CSP) in place for your domain, you will need to update your headers to support Rocket Loader.
To enable or disable Rocket Loader with the API, send a PATCH request with rocket_loader as the setting name in the URI path, and the value parameter set to "on" or "off".
If you have a Content Security Policy (CSP) in place for your domain, you will need to update your headers to support Rocket Loader.