[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/speed/optimization/content/rocket-loader/enable/ [Back]  [Original]

Enable Rocket Loader Cloudflare Speed docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Speed
  3. /
    SettingsContent optimizations
  4. /Rocket Loader
  5. /Enable

Enable

Last updated Apr 16, 2026Copy as MarkdownView as MarkdownAgent setup

To enable or disable Rocket Loader, use the following instructions.

To enable or disable Rocket Loader in the dashboard:

  1. In the Cloudflare dashboard, go to the Speed > Settings page.

    Go to Settings ↗
  2. Go to Content Optimization.

  3. ForRocket 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.

Note

To use this feature on specific hostnames - instead of across your entire zone - use a configuration rule.

PreviousOverviewNextIgnore JavaScripts

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page