Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ The Cloudflare APO WordPress plugin does not support multisite WordPress install

## Purchase APO

1. Log into the [Cloudflare dashboard](https://dash.cloudflare.com).
2. Select your account and zone.
3. Go to **Speed** > **Optimization** > **Content Optimization**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

3. Go to **Content Optimization**.
4. For **Automatic Platform Optimization for WordPress**, select **Purchase**.
5. Enter your payment information and select **Confirm payment**.

Expand Down
12 changes: 7 additions & 5 deletions src/content/docs/cache/advanced-configuration/early-hints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pcx_content_type: concept

---

import { FeatureTable } from "~/components"
import { FeatureTable, DashButton } from "~/components"

Early Hints takes advantage of “server think time” to asynchronously send instructions to the browser to begin loading resources while the origin server is compiling the full response. By sending these hints to a browser before the full response is prepared, the browser can figure out how to load the webpage faster for the end user.

Expand All @@ -26,10 +26,12 @@ For more information about Early Hints, refer to the [Cloudflare](https://blog.c

## Enable Early Hints

1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com) and select your domain.
2. From the dashboard, select **Speed** > **Optimization**.
3. Go to the **Content Optimization** tab.
4. For **Early Hints**, toggle the switch to **On**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to the **Content Optimization** tab.
3. For **Early Hints**, toggle the switch to **On**.

## Generate Early Hints

Expand Down
18 changes: 10 additions & 8 deletions src/content/docs/speed/observatory/run-speed-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@ sidebar:
description: Learn how to use Cloudflare's Observatory to assess the performance of your website.
---

import { Render } from "~/components";
import { Render, DashButton } from "~/components";

## Run Synthetic test

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
2. Go to **Speed** > **Synthetic Monitoring**.
3. Enter the URL you want to test. The URL must belong to the zone you are testing from.
4. Select the test type you want to use: **Browser** or **Network tests**.
5. Select the **Region** the automated browser will use.
6. Depending on your plan you can select to run the test **once**, **daily** or **weekly**. Refer to the [Quotas](/speed/observatory/run-speed-test/#quotas) section for information on the test frequency available for your plan. Note that these limits may change over time.
7. After the test finishes running, you will get a Lighthouse score and you will have access to the list of the tests run. The test result page will give you details regarding the performance of your website, both for the desktop and mobile versions. Refer to [Understand test results](/speed/observatory/test-results/) for more information.
1. In the Cloudflare dashboard, go to the **Synthetic Monitoring** page.

<DashButton url="/?to=/:account/:zone/speed/test" />

2. Enter the URL you want to test. The URL must belong to the zone you are testing from.
3. Select the test type you want to use: **Browser** or **Network tests**.
4. Select the **Region** the automated browser will use.
5. Depending on your plan you can select to run the test **once**, **daily** or **weekly**. Refer to the [Quotas](/speed/observatory/run-speed-test/#quotas) section for information on the test frequency available for your plan. Note that these limits may change over time.
6. After the test finishes running, you will get a Lighthouse score and you will have access to the list of the tests run. The test result page will give you details regarding the performance of your website, both for the desktop and mobile versions. Refer to [Understand test results](/speed/observatory/test-results/) for more information.

<Render file="user-agents" product="speed" />

Expand Down
9 changes: 6 additions & 3 deletions src/content/docs/speed/optimization/content/fonts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar:

---

import { GlossaryTooltip, Render } from "~/components"
import { GlossaryTooltip, Render, DashButton } from "~/components"

Cloudflare Fonts is a feature designed for websites that use Google Fonts. It rewrites Google Fonts to be delivered from a website’s own origin, eliminating the need to rely on third-party font providers. Cloudflare Fonts is tailored to improve website performance and user privacy without the need for any code changes or self-hosting of fonts.

Expand Down Expand Up @@ -36,8 +36,11 @@ Samsung Internet 5+

To enable Cloudflare Fonts for your entire domain:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
2. Go to **Speed** > **Optimization** > **Content Optimization**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Content Optimization**.
3. For **Cloudflare Fonts**, switch the toggle to **On**.

<Render file="configuration-rule-promotion" product="rules" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar:
order: 6
---

import { Example, FeatureTable, TabItem, Tabs } from "~/components";
import { Example, FeatureTable, TabItem, Tabs, DashButton } from "~/components";

URL prefetching means that Cloudflare pre-populates the cache with content a visitor is likely to request next. This setting — when combined with [additional setup](#setup) — leads to a higher cache hit rate and thus a faster experience for the user.

Expand All @@ -27,8 +27,11 @@ For Cloudflare to start prefetching URLs, you will need to [enable the feature](

To enable **Prefetch URLs** in the dashboard:

1. Log in to your [Cloudflare account](https://dash.cloudflare.com) and go to a specific domain.
2. Go to **Speed** > **Optimization** > **Content Optimization**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Content Optimization**.
3. For **Prefetch URLs**, switch the toggle to **On**.

</TabItem> <TabItem label="API">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ head:
content: Enable Rocket Loader
---

import { Render, TabItem, Tabs } from "~/components";
import { Render, TabItem, Tabs, DashButton } from "~/components";

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

<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">

To enable or disable **Rocket Loader** in the dashboard:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
2. Select your account and domain.
3. Go to **Speed** > **Settings** > **Content Optimization**.
4. For **Rocket Loader**, switch the toggle to **On**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Content Optimization**.
3. For **Rocket Loader**, switch the toggle to **On**.

<Render file="rocket-loader-csp" product="speed" />

Expand Down
9 changes: 6 additions & 3 deletions src/content/docs/speed/optimization/content/speed-brain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar:
description: Learn how Speed Brain enhances web performance by prefetching likely next pages, improving metrics like LCP and TTFB.
---

import { FeatureTable, TabItem, Tabs, APIRequest } from "~/components";
import { FeatureTable, TabItem, Tabs, APIRequest, DashButton } from "~/components";

Speed Brain is a tool for improving web page performance by prefetching the most likely next navigation.

Expand Down Expand Up @@ -79,8 +79,11 @@ Speed Brain is available in Cloudflare's **Speed** tab of the dashboard and also

To enable or disable **Speed Brain** in the dashboard:

1. Log in to your [Cloudflare account](https://dash.cloudflare.com), select your account and go to a specific domain.
2. Go to **Speed** > **Optimization** > **Content Optimization**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Content Optimization**.
3. Toggle **Speed Brain** to **On** or **Off**.

</TabItem> <TabItem label="API">
Expand Down
10 changes: 6 additions & 4 deletions src/content/docs/speed/optimization/images/mirage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sidebar:

---

import { FeatureTable, GlossaryTooltip, Render } from "~/components"
import { FeatureTable, GlossaryTooltip, Render, DashButton} from "~/components"

:::caution[Deprecation notice]
Mirage was deprecated on September 15, 2025.
Expand Down Expand Up @@ -64,9 +64,11 @@ If you send a <GlossaryTooltip term="content security policy (CSP)">Content Secu

To enable Mirage image optimization for your entire domain:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
2. Select your account and zone.
3. Go to **Speed** > **Optimization** > **Image Optimization**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

3. Go to **Image Optimization**.
4. For **Mirage**, switch the toggle to **On**.

<Render file="configuration-rule-promotion" product="rules" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sidebar:

---

import { DashButton } from "~/components"

## Requirements

AMP Real URL is available for all plans. However, refer to the following requirements before enabling this feature:
Expand All @@ -18,8 +20,11 @@ AMP Real URL is available for all plans. However, refer to the following require

If your account satisfies the requirements to enable AMP Real URL:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
2. Go to **Speed** > **Optimization** > **Other**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Other**.
3. Scroll to **AMP Real URL** and toggle the button to enable it.

## Limitations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: Learn how to enable Cloudflare Automatic Signed Exchange (SXG) for

---

import { Render } from "~/components"
import { Render, DashButton } from "~/components"

## Requirements

Expand All @@ -32,8 +32,11 @@ For SXGs to be enabled, a CAA record (Certification Authority Authorization) is

If your account satisfies all the requirements, follow the steps below to enable SXGs. Be aware that, currently, signed exchanges are only used on Chromium browsers on Android and desktop.

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
2. Go to **Speed** > **Optimization** > **Other**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to **Other**.
3. Scroll to **Automatic Signed Exchanges (SXGs)** and enable it.

<Render file="configuration-rule-promotion" product="rules" />
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar:
order: 5
---

import { FeatureTable, TabItem, Tabs } from "~/components";
import { FeatureTable, TabItem, Tabs, DashButton } from "~/components";

Zero round trip time resumption (0-RTT) improves performance for clients who have previously connected to your website, reducing latency for returning users. This feature is especially beneficial for those who frequently visit your application or connect over mobile networks.

Expand All @@ -27,9 +27,11 @@ By default, 0-RTT Connection Resumption is not enabled on your Cloudflare applic

To enable 0-RTT Connection Resumption in the dashboard:

1. Log in to your [Cloudflare account](https://dash.cloudflare.com) and go to a specific domain.
2. Navigate to **Speed > Optimization**.
3. Navigate to the **Protocol Optimization** tab and under **0-RTT Connection Resumption**, switch the toggle to **On**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

2. Go to the **Protocol Optimization** tab and under **0-RTT Connection Resumption**, switch the toggle to **On**.

</TabItem> <TabItem label="API">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: HTTP/2 to Origin

---

import { FeatureTable, Details, Render, APIRequest } from "~/components"
import { FeatureTable, Details, Render, APIRequest, Dashboard, DashButton } from "~/components"

A protocol is a set of rules governing the exchange or transmission of data between devices. One of the most important protocols that run on the human-computer interaction layer, where applications can access the network services, is HTTP (Hypertext Transfer Protocol).

Expand All @@ -20,10 +20,11 @@ At Cloudflare, HTTP/2 connection to the origin is enabled by default.

If you wish to disable HTTP/2 to Origin, you can follow these steps:

1. Log into the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
2. Choose the domain that will use HTTP/2 to Origin.
3. Select **Speed > Optimization**.
4. Navigate to the **Protocol Optimization** tab and under **HTTP/2 to Origin** set the toggle to **Off**.
1. In the Cloudflare dashboard, go to the **Settings** page.

<DashButton url="/?to=/:account/:zone/speed/optimization" />

4. Go to the **Protocol Optimization** tab and under **HTTP/2 to Origin** set the toggle to **Off**.

## Connection multiplexing

Expand Down
Loading