diff --git a/src/content/docs/workers/ci-cd/builds/git-integration/index.mdx b/src/content/docs/workers/ci-cd/builds/git-integration/index.mdx
index c827ab66500a30f..25300d8c9954fe9 100644
--- a/src/content/docs/workers/ci-cd/builds/git-integration/index.mdx
+++ b/src/content/docs/workers/ci-cd/builds/git-integration/index.mdx
@@ -6,6 +6,8 @@ sidebar:
order: 3
---
+import { DashButton, Steps } from "~/components";
+
Cloudflare supports connecting your [GitHub](/workers/ci-cd/builds/git-integration/github-integration/) and [GitLab](/workers/ci-cd/builds/git-integration/gitlab-integration/) repository to your Cloudflare Worker, and will automatically deploy your code every time you push a change.
Adding a Git integration also lets you monitor build statuses directly in your Git provider using [pull request comments](/workers/ci-cd/builds/git-integration/github-integration/#pull-request-comment), [check runs](/workers/ci-cd/builds/git-integration/github-integration/#check-run), or [commit statuses](/workers/ci-cd/builds/git-integration/gitlab-integration/#commit-status), so you can manage deployments without leaving your workflow.
@@ -33,6 +35,16 @@ For details on providing access to organization accounts, see [GitHub organizati
## Manage a Git Integration
-To manage your Git installation, go to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Workers & Pages** > your Worker > **Settings** > **Builds** > under **Git Repository**, select **Manage**.
+To manage your Git installation:
+
+
+1. Go to the **Workers & Pages** page in the Cloudflare dashboard.
+
+
+
+2. Select your Worker.
+3. Go to **Settings** > **Builds**.
+4. Under **Git Repository**, select **Manage**.
+
This can be useful for managing repository access or troubleshooting installation issues by reinstalling. For more details, see the [GitHub](/workers/ci-cd/builds/git-integration/github-integration) and [GitLab](/workers/ci-cd/builds/git-integration/gitlab-integration) guides for how to manage your installation.
diff --git a/src/content/docs/workers/configuration/routing/custom-domains.mdx b/src/content/docs/workers/configuration/routing/custom-domains.mdx
index 8fb4b295a78f7d3..abd35d3dce9e690 100644
--- a/src/content/docs/workers/configuration/routing/custom-domains.mdx
+++ b/src/content/docs/workers/configuration/routing/custom-domains.mdx
@@ -4,7 +4,7 @@ title: Custom Domains
---
-import { WranglerConfig, DashButton } from "~/components";
+import { WranglerConfig, DashButton, Steps } from "~/components";
## Background
@@ -41,6 +41,7 @@ You cannot create a Custom Domain on a hostname with an existing CNAME DNS recor
To set up a Custom Domain in the dashboard:
+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
@@ -49,6 +50,7 @@ To set up a Custom Domain in the dashboard:
3. Go to **Settings** > **Domains & Routes** > **Add** > **Custom Domain**.
4. Enter the domain you want to configure for your Worker.
5. Select **Add Custom Domain**.
+
After you have added the domain or subdomain, Cloudflare will create a new DNS record for you. You can add multiple Custom Domains.
@@ -152,39 +154,41 @@ If you are currently invoking a Worker using a [route](/workers/configuration/ro
### Migrate from Routes via the dashboard
To migrate the route `example.com/*`:
-1. In the Cloudflare dashboard, go to the **Account home** page.
-
+
+1. In the Cloudflare dashboard, go to the **DNS** page for your domain.
-2. Select your domain.
-3. Go to **DNS** and delete the CNAME record for `example.com`.
-4. Go to **Account Home** > **Workers & Pages**.
-5. In **Overview**, select your Worker > **Settings** > **Domains & Routes**.
-6. Select **Add** > **Custom domain** and add `example.com`.
-7. Delete the route `example.com/*` located in your Worker > **Settings** > **Domains & Routes**.
+
+
+2. Delete the CNAME record for `example.com`.
+3. Go to **Account Home** > **Workers & Pages**.
+4. In **Overview**, select your Worker > **Settings** > **Domains & Routes**.
+5. Select **Add** > **Custom domain** and add `example.com`.
+6. Delete the route `example.com/*` located in your Worker > **Settings** > **Domains & Routes**.
+
### Migrate from Routes via Wrangler
To migrate the route `example.com/*` in your [Wrangler configuration file](/workers/wrangler/configuration/):
-1. In the Cloudflare dashboard, go to the **Account home** page.
-
-
+
+1. In the Cloudflare dashboard, go to the **DNS** page for your domain.
-2. Select your domain.
-3. Go to **DNS** and delete the CNAME record for `example.com`.
-4. Add the following to your Wrangler file:
+
+2. Delete the CNAME record for `example.com`.
+3. Add the following to your Wrangler file:
-
+
-```toml
-[[routes]]
-pattern = "example.com"
-custom_domain = true
-```
+ ```toml
+ [[routes]]
+ pattern = "example.com"
+ custom_domain = true
+ ```
-
+
4. Run `npx wrangler deploy` to create the Custom Domain your Worker will run on.
+
\ No newline at end of file
diff --git a/src/content/docs/workers/configuration/routing/routes.mdx b/src/content/docs/workers/configuration/routing/routes.mdx
index dee5a1d8b7a4de2..4687500b2262850 100644
--- a/src/content/docs/workers/configuration/routing/routes.mdx
+++ b/src/content/docs/workers/configuration/routing/routes.mdx
@@ -3,7 +3,7 @@ pcx_content_type: concept
title: Routes
---
-import { WranglerConfig, DashButton } from "~/components";
+import { WranglerConfig, DashButton, Steps } from "~/components";
## Background
@@ -42,6 +42,8 @@ Routes can also be created via the API. Refer to the [Workers Routes API documen
Before you set up a route, make sure you have a DNS record set up for the [domain](/dns/manage-dns-records/how-to/create-zone-apex/) or [subdomain](/dns/manage-dns-records/how-to/create-subdomain/) you would like to route to.
To set up a route in the dashboard:
+
+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
@@ -50,6 +52,7 @@ To set up a route in the dashboard:
3. Go to **Settings** > **Domains & Routes** > **Add** > **Route**.
4. Select the zone and enter the route pattern.
5. Select **Add route**.
+
### Set up a route in the Wrangler configuration file
@@ -73,7 +76,15 @@ zone_id = ""
-Add the `zone_name` or `zone_id` option after each route. The `zone_name` and `zone_id` options are interchangeable. If using `zone_id`, find your zone ID by logging in to the Cloudflare dashboard > select your account > select your website > find the **Zone ID** in the left-hand side of **Overview**.
+Add the `zone_name` or `zone_id` option after each route. The `zone_name` and `zone_id` options are interchangeable. If using `zone_id`, find your zone ID by:
+
+
+1. Go to the Zone Overview page in the Cloudflare dashboard.
+
+
+
+2. Find the **Zone ID** in the left-hand side of **Overview**.
+
To add multiple routes:
diff --git a/src/content/docs/workers/examples/103-early-hints.mdx b/src/content/docs/workers/examples/103-early-hints.mdx
index 497f7c111a2e841..627278d1f76c0a9 100644
--- a/src/content/docs/workers/examples/103-early-hints.mdx
+++ b/src/content/docs/workers/examples/103-early-hints.mdx
@@ -13,7 +13,7 @@ sidebar:
order: 1001
description: Allow a client to request static assets while waiting for the HTML response.
---
-import { DashButton } from "~/components";
+import { DashButton, Steps, TabItem, Tabs } from "~/components";
If you want to get started quickly, click on the button below.
@@ -21,18 +21,18 @@ If you want to get started quickly, click on the button below.
This creates a repository in your GitHub account and deploys the application to Cloudflare Workers.
-import { TabItem, Tabs } from "~/components";
-
`103` Early Hints is an HTTP status code designed to speed up content delivery. When enabled, Cloudflare can cache the `Link` headers marked with preload and/or preconnect from HTML pages and serve them in a `103` Early Hints response before reaching the origin server. Browsers can use these hints to fetch linked assets while waiting for the origin’s final response, dramatically improving page load speeds.
To ensure Early Hints are enabled on your zone:
-1. In the Cloudflare dashboard, go to the **Account home** page.
+
+1. In the Cloudflare dashboard, go to the **Speed settings** page.
-
+
-2. Go to **Speed** > **Optimization** > **Content Optimization**.
+2. Go to **Content Optimization**.
3. Enable the **Early Hints** toggle to on.
+
You can return `Link` headers from a Worker running on your zone to speed up your page load times.
diff --git a/src/content/docs/workers/observability/metrics-and-analytics.mdx b/src/content/docs/workers/observability/metrics-and-analytics.mdx
index e3752f2523c5925..8c3ef44ea58ce55 100644
--- a/src/content/docs/workers/observability/metrics-and-analytics.mdx
+++ b/src/content/docs/workers/observability/metrics-and-analytics.mdx
@@ -9,7 +9,7 @@ description: Diagnose issues with Workers metrics, and review request data for a
---
-import { GlossaryTooltip, DashButton } from "~/components"
+import { GlossaryTooltip, DashButton, Steps } from "~/components"
There are two graphical sources of information about your Workers traffic at a given time: Workers metrics and zone-based Workers analytics.
@@ -21,11 +21,13 @@ Zone analytics show how much traffic all Workers assigned to a zone are handling
Workers metrics aggregate request data for an individual Worker (if your Worker is running across multiple domains, and on `*.workers.dev`, metrics will aggregate requests across them). To view your Worker's metrics:
+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
2. In **Overview**, select your Worker to view its metrics.
+
There are two metrics that can help you understand the health of your Worker in a given moment: requests success and error metrics, and invocation statuses.
@@ -65,6 +67,7 @@ The Duration per request chart shows historical [duration](/workers/platform/lim
To review invocation statuses:
+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
@@ -72,6 +75,7 @@ To review invocation statuses:
2. Select your Worker.
4. Find the **Summary** graph in **Metrics**.
5. Select **Errors**.
+
Worker invocation statuses indicate whether a Worker executed successfully or failed to generate a response in the Workers runtime. Invocation statuses differ from HTTP status codes. In some cases, a Worker invocation succeeds but does not generate a successful HTTP status because of another error encountered outside of the Workers runtime. Some invocation statuses result in a [Workers error code](/workers/observability/errors/#error-pages-generated-by-workers) being returned to the client.
@@ -110,12 +114,14 @@ Worker metrics can be inspected for up to three months in the past in maximum in
Zone analytics aggregate request data for all Workers assigned to any [routes](/workers/configuration/routing/routes/) defined for a zone.
To review zone metrics:
-1. In the Cloudflare dashboard, go to the **Account home** page.
-
+
+1. In the Cloudflare dashboard, go to the **Analytics & Logs** page for your zone.
-2. Select your domain.
-3. In **Analytics & Logs**, select **Workers**.
+
+
+2. Select **Workers**.
+
Zone data can be scoped by time range within the last 30 days. The dashboard includes charts and information described below.