Skip to content

Commit a555a3e

Browse files
committed
Add redirects and update links for browser-rendering navigation reorganization
1 parent 8db4b59 commit a555a3e

File tree

13 files changed

+34
-29
lines changed

13 files changed

+34
-29
lines changed

public/__redirects

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@
288288
/browser-rendering/workers-binding-api/screenshots/ /browser-rendering/workers-bindings/screenshots/ 301
289289
/browser-rendering/workers-binding-api/browser-rendering-with-do/ /browser-rendering/workers-bindings/browser-rendering-with-do/ 301
290290
/browser-rendering/workers-binding-api/reuse-sessions/ /browser-rendering/workers-bindings/reuse-sessions/ 301
291+
/browser-rendering/platform/puppeteer/ /browser-rendering/puppeteer/ 301
292+
/browser-rendering/platform/playwright/ /browser-rendering/playwright/ 301
293+
/browser-rendering/platform/wrangler/ /browser-rendering/reference/wrangler/ 301
294+
/browser-rendering/platform/limits/ /browser-rendering/limits/ 301
295+
/browser-rendering/platform/pricing/ /browser-rendering/pricing/ 301
291296

292297
# byoip
293298
/byoip/about/dynamic-advertisement/ /byoip/concepts/dynamic-advertisement/ 301

src/content/docs/ai-search/configuration/data-source/website.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If you have Security rules configured to block bot activity, you can add a rule
5151
You can choose how pages are parsed during crawling:
5252

5353
- **Static sites**: Downloads the raw HTML for each page.
54-
- **Rendered sites**: Loads pages with a headless browser and downloads the fully rendered version, including dynamic JavaScript content. Note that the [Browser Rendering](/browser-rendering/platform/pricing/) limits and billing apply.
54+
- **Rendered sites**: Loads pages with a headless browser and downloads the fully rendered version, including dynamic JavaScript content. Note that the [Browser Rendering](/browser-rendering/pricing/) limits and billing apply.
5555

5656
## Storage
5757
During setup, AI Search creates a dedicated R2 bucket in your account to store the pages that have been crawled and downloaded as HTML files. This bucket is automatically managed and is used only for content discovered by the crawler. Any files or objects that you add directly to this bucket will not be indexed.

src/content/docs/ai-search/platform/limits-pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ During the open beta, AI Search is **free to enable**. When you create an AI Sea
1515
| [**Vectorize**](/vectorize/platform/pricing/) | Stores vector embeddings and powers semantic search |
1616
| [**Workers AI**](/workers-ai/platform/pricing/) | Handles image-to-Markdown conversion, embedding, query rewriting, and response generation |
1717
| [**AI Gateway**](/ai-gateway/reference/pricing/) | Monitors and controls model usage |
18-
| [**Browser Rendering**](/browser-rendering/platform/pricing/) | Loads dynamic JavaScript content during [website](/ai-search/configuration/data-source/website/) crawling with the Render option |
18+
| [**Browser Rendering**](/browser-rendering/pricing/) | Loads dynamic JavaScript content during [website](/ai-search/configuration/data-source/website/) crawling with the Render option |
1919

2020
For more information about how each resource is used within AI Search, reference [How AI Search works](/ai-search/concepts/how-ai-search-works/).
2121

src/content/docs/browser-rendering/faq.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { GlossaryTooltip, Render } from "~/components";
1212

1313
Below you will find answers to our most commonly asked questions about Browser Rendering.
1414

15-
For pricing questions, visit the [pricing FAQ](/browser-rendering/platform/pricing/#faq).
16-
For usage limits questions, visit the [limits FAQ](/browser-rendering/platform/limits/#faq).
15+
For pricing questions, visit the [pricing FAQ](/browser-rendering/pricing/#faq).
16+
For usage limits questions, visit the [limits FAQ](/browser-rendering/limits/#faq).
1717
If you cannot find the answer you are looking for, join us on [Discord](https://discord.cloudflare.com).
1818

1919
---
@@ -85,9 +85,9 @@ It may be because you increased the height and width of the viewport. To fix thi
8585

8686
### `Error processing the request: Unable to create new browser: code: 429: message: Browser time limit exceeded for today`
8787

88-
This error indicates you have hit the daily browser-instance limit on the Workers Free plan. [Free-plan accounts are capped at free plan limit is 10 minutes of browser use a day](/browser-rendering/platform/limits/#workers-free) once you exceed those, further creation attempts return a 429 until the next UTC day.
88+
This error indicates you have hit the daily browser-instance limit on the Workers Free plan. [Free-plan accounts are capped at free plan limit is 10 minutes of browser use a day](/browser-rendering/limits/#workers-free) once you exceed those, further creation attempts return a 429 until the next UTC day.
8989

90-
To resolve: [Upgrade to a Workers Paid plan](/workers/platform/pricing/) which allows for more than 10 minutes of usage a day and has higher [limits](/browser-rendering/platform/limits/#workers-paid). If you recently upgraded but still see this error, try redeploying your Worker to ensure your usage is correctly associated with your new plan.
90+
To resolve: [Upgrade to a Workers Paid plan](/workers/platform/pricing/) which allows for more than 10 minutes of usage a day and has higher [limits](/browser-rendering/limits/#workers-paid). If you recently upgraded but still see this error, try redeploying your Worker to ensure your usage is correctly associated with your new plan.
9191

9292
### `422 Unprocessable Entity`
9393

src/content/docs/browser-rendering/how-to/pdf-generation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ As seen in [this Workers bindings guide](/browser-rendering/workers-bindings/scr
1212
You can generate PDFs with Browser Rendering in two ways:
1313

1414
- **[REST API](/browser-rendering/rest-api/)**: Use the the [/pdf endpoint](/browser-rendering/rest-api/pdf-endpoint/). This is ideal if you don't need to customize rendering behavior.
15-
- **[Workers Bindings](/browser-rendering/workers-bindings/)**: Use [Puppeteer](/browser-rendering/platform/puppeteer/) or [Playwright](/browser-rendering/platform/playwright/) with Workers Bindings for additional control and customization.
15+
- **[Workers Bindings](/browser-rendering/workers-bindings/)**: Use [Puppeteer](/browser-rendering/puppeteer/) or [Playwright](/browser-rendering/playwright/) with Workers Bindings for additional control and customization.
1616

1717
Choose the method that best fits your use case.
1818

19-
The following example shows you how to generate a PDF using [Puppeteer](/browser-rendering/platform/puppeteer/).
19+
The following example shows you how to generate a PDF using [Puppeteer](/browser-rendering/puppeteer/).
2020

2121
## Prerequisites
2222

src/content/docs/browser-rendering/limits.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To increase this limit, go to the **Compute (Workers) > Workers plans** page in
3030
[^1]: Rate limits are enforced with a fixed **per-second fill rate**. For example, a limit of 60 requests per minute translates to **1 request per second**. This means you cannot send all 60 requests at once; the API expects them to be spread evenly over the minute. If your account has a custom higher limit, it will also be enforced as a per-second rate.
3131

3232
:::note[Note on browser timeout]
33-
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/platform/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
33+
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
3434
:::
3535

3636
## Workers Paid
@@ -50,7 +50,7 @@ The limits for Browser Rendering will continue to be raised over time. In the me
5050
[^2]: Contact our team to request increases to this limit.
5151

5252
:::note[Note on browser timeout]
53-
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/platform/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
53+
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
5454
:::
5555

5656
## Note on concurrency
@@ -70,11 +70,11 @@ To upgrade, go to the **Compute (Workers) > Workers plans** page in the Cloudfla
7070

7171
### Can I increase the browser timeout?
7272

73-
By default, a browser instance will time out after 60 seconds of inactivity. If you want to keep the browser open longer, you can use the [`keep_alive` option](/browser-rendering/platform/puppeteer/#keep-alive) which allows you to extend the timeout to up to 10 minutes.
73+
By default, a browser instance will time out after 60 seconds of inactivity. If you want to keep the browser open longer, you can use the [`keep_alive` option](/browser-rendering/puppeteer/#keep-alive) which allows you to extend the timeout to up to 10 minutes.
7474

7575
### Is there a maximum session duration?
7676

77-
There is no fixed maximum lifetime for a browser session as long as it remains active. By default, Browser Rendering closes sessions after 1 minute of inactivity to prevent unintended usage. You can [increase this inactivity timeout](/browser-rendering/platform/puppeteer/#keep-alive) to up to 10 minutes.
77+
There is no fixed maximum lifetime for a browser session as long as it remains active. By default, Browser Rendering closes sessions after 1 minute of inactivity to prevent unintended usage. You can [increase this inactivity timeout](/browser-rendering/puppeteer/#keep-alive) to up to 10 minutes.
7878

7979
If you need sessions to remain open longer, keep them active by sending a command at least once within your configured inactivity window (for example, every 10 minutes). Sessions also close when Browser Rendering rolls out a new release.
8080

@@ -85,7 +85,7 @@ If you recently upgraded to the [Workers Paid plan](/workers/platform/pricing/)
8585
### Error: `429 Too many requests`
8686

8787
When you make too many requests in a short period of time, Browser Rendering will respond with HTTP status code `429 Too many requests`.
88-
The response includes a `Retry-After` header, which specifies how many seconds to wait before retrying. You can view your account's rate limits on the [Limits](/browser-rendering/platform/limits/) page.
88+
The response includes a `Retry-After` header, which specifies how many seconds to wait before retrying. You can view your account's rate limits on the [Limits](/browser-rendering/limits/) page.
8989

9090
The example below demonstrates how to handle rate limiting gracefully by reading the `Retry-After` value and retrying the request after that delay.
9191

@@ -141,9 +141,9 @@ try {
141141

142142
### Error: `429 Browser time limit exceeded for today`
143143

144-
This `Error processing the request: Unable to create new browser: code: 429: message: Browser time limit exceeded for today` indicates you have hit the daily browser limit on the Workers Free plan. [Workers Free plan accounts are limited](/browser-rendering/platform/limits/#workers-free) to 10 minutes of browser rendering usage per day. If you exceed that limit, you will receive a `429` error until the next UTC day.
144+
This `Error processing the request: Unable to create new browser: code: 429: message: Browser time limit exceeded for today` indicates you have hit the daily browser limit on the Workers Free plan. [Workers Free plan accounts are limited](/browser-rendering/limits/#workers-free) to 10 minutes of browser rendering usage per day. If you exceed that limit, you will receive a `429` error until the next UTC day.
145145

146-
You can [increase your limits](/browser-rendering/platform/limits/#workers-paid) by upgrading to a Workers Paid plan on the **Workers plans** page of the Cloudflare dashboard:
146+
You can [increase your limits](/browser-rendering/limits/#workers-paid) by upgrading to a Workers Paid plan on the **Workers plans** page of the Cloudflare dashboard:
147147

148148
<DashButton url="/?to=/:account/workers/plans" />
149149

src/content/docs/browser-rendering/playwright/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you want to skip the steps and get started quickly, select **Deploy to Cloudf
3434

3535
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/playwright/tree/main/packages/playwright-cloudflare/examples/todomvc)
3636

37-
Make sure you have the [browser binding](/browser-rendering/platform/wrangler/#bindings) configured in your `wrangler.toml` file:
37+
Make sure you have the [browser binding](/browser-rendering/reference/wrangler/#bindings) configured in your `wrangler.toml` file:
3838

3939
:::note
4040
To use the latest version of `@cloudflare/playwright`, your Worker configuration must include the `nodejs_compat` compatibility flag and a `compatibility_date` of 2025-09-15 or later. This change is necessary because the library's functionality requires the native `node.fs` API.
@@ -340,7 +340,7 @@ Notice that the session `478f4d7d-e943-40f6-a414-837d3736a1dc` has an active wor
340340
]
341341
```
342342

343-
Session `2be00a21-9fb6-4bb2-9861-8cd48e40e771` was closed explicitly with `browser.close()` by the client, while session `478f4d7d-e943-40f6-a414-837d3736a1dc` was closed due to reaching the maximum idle time (check [limits](/browser-rendering/platform/limits/)).
343+
Session `2be00a21-9fb6-4bb2-9861-8cd48e40e771` was closed explicitly with `browser.close()` by the client, while session `478f4d7d-e943-40f6-a414-837d3736a1dc` was closed due to reaching the maximum idle time (check [limits](/browser-rendering/limits/)).
344344

345345
You should also be able to access this information in the dashboard, albeit with a slight delay.
346346

@@ -362,7 +362,7 @@ You should also be able to access this information in the dashboard, albeit with
362362

363363
- `activeSessions` lists the IDs of the current open sessions
364364
- `maxConcurrentSessions` defines how many browsers can be open at the same time
365-
- `allowedBrowserAcquisitions` specifies if a new browser session can be opened according to the rate [limits](/browser-rendering/platform/limits/) in place
365+
- `allowedBrowserAcquisitions` specifies if a new browser session can be opened according to the rate [limits](/browser-rendering/limits/) in place
366366
- `timeUntilNextAllowedBrowserAcquisition` defines the waiting period before a new browser can be launched.
367367

368368
## Playwright API

src/content/docs/browser-rendering/pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ You can monitor Browser Rendering usage in two ways:
6060
const browserMsUsed = parseInt(contentRes.headers.get('X-Browser-Ms-Used') || '');
6161
```
6262

63-
Then, you can use [the pricing page](/browser-rendering/platform/pricing/) to estimate your costs based on your usage.
63+
Then, you can use [the pricing page](/browser-rendering/pricing/) to estimate your costs based on your usage.
6464

6565
### Do failed API calls, such as those that time out, add to billable browser hours?
6666
No. If a request to the Browser Rendering REST API fails with a `waitForTimeout` error, the browser session is not charged.

src/content/docs/browser-rendering/puppeteer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Our version is open sourced and can be found in [Cloudflare's fork of Puppeteer]
2020

2121
## Use Puppeteer in a Worker
2222

23-
Once the [browser binding](/browser-rendering/platform/wrangler/#bindings) is configured and the `@cloudflare/puppeteer` library is installed, Puppeteer can be used in a Worker:
23+
Once the [browser binding](/browser-rendering/reference/wrangler/#bindings) is configured and the `@cloudflare/puppeteer` library is installed, Puppeteer can be used in a Worker:
2424

2525
<TypeScriptExample>
2626

@@ -119,7 +119,7 @@ Notice that the session `478f4d7d-e943-40f6-a414-837d3736a1dc` has an active wor
119119
]
120120
```
121121

122-
Session `2be00a21-9fb6-4bb2-9861-8cd48e40e771` was closed explicitly with `browser.close()` by the client, while session `478f4d7d-e943-40f6-a414-837d3736a1dc` was closed due to reaching the maximum idle time (check [limits](/browser-rendering/platform/limits/)).
122+
Session `2be00a21-9fb6-4bb2-9861-8cd48e40e771` was closed explicitly with `browser.close()` by the client, while session `478f4d7d-e943-40f6-a414-837d3736a1dc` was closed due to reaching the maximum idle time (check [limits](/browser-rendering/limits/)).
123123

124124
You should also be able to access this information in the dashboard, albeit with a slight delay.
125125

@@ -141,7 +141,7 @@ You should also be able to access this information in the dashboard, albeit with
141141

142142
- `activeSessions` lists the IDs of the current open sessions
143143
- `maxConcurrentSessions` defines how many browsers can be open at the same time
144-
- `allowedBrowserAcquisitions` specifies if a new browser session can be opened according to the rate [limits](/browser-rendering/platform/limits/) in place
144+
- `allowedBrowserAcquisitions` specifies if a new browser session can be opened according to the rate [limits](/browser-rendering/limits/) in place
145145
- `timeUntilNextAllowedBrowserAcquisition` defines the waiting period before a new browser can be launched.
146146

147147
## Puppeteer API

src/content/docs/browser-rendering/reference/browser-close-reasons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To find the reason that a browser closed:
1717

1818
2. Select the **Logs** tab.
1919

20-
Browser Rendering sessions are billed based on [usage](/browser-rendering/platform/pricing/). We do not charge for sessions that error due to underlying Browser Rendering infrastructure.
20+
Browser Rendering sessions are billed based on [usage](/browser-rendering/pricing/). We do not charge for sessions that error due to underlying Browser Rendering infrastructure.
2121

2222
| Reasons a session may end |
2323
| ---------------------------------------------------- |

0 commit comments

Comments
 (0)