From 035a3f8310f932b32d4a5b2ca82db84b78504d16 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:14:54 -0700 Subject: [PATCH 1/4] Update faq.mdx add info on how to reduce concurrency + maintain session isolation --- src/content/docs/browser-rendering/faq.mdx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/content/docs/browser-rendering/faq.mdx b/src/content/docs/browser-rendering/faq.mdx index 2692d599f67e512..bd5ffffd08131be 100644 --- a/src/content/docs/browser-rendering/faq.mdx +++ b/src/content/docs/browser-rendering/faq.mdx @@ -51,16 +51,6 @@ Returning an `HTMLElement` will not work. ::: -### What are the usage limits and pricing tiers for Cloudflare Browser Rendering and how do I estimate my costs? - -You can view the complete breakdown of concurrency caps, request rates, timeouts, and REST API quotas on the [limits page](/browser-rendering/platform/limits/). - -By default, idle browser sessions close after 60 seconds of inactivity. You can adjust this with the [`keep_alive` option](/browser-rendering/platform/puppeteer/#keep-alive). - -#### Pricing - -Browser Rendering is currently free up to the limits above until billing begins. Pricing will be announced in advance. - ### Does Browser Rendering rotate IP addresses for outbound requests? No. Browser Rendering requests originate from Cloudflares global network, but you cannot configure per-request IP rotation. All rendering traffic comes from Cloudflare IP ranges and requests include special headers [(`cf-biso-request-id`, `cf-biso-devtools`)](/browser-rendering/reference/automatic-request-headers/) so origin servers can identify them. @@ -86,3 +76,12 @@ If you recently upgraded to the Workers Paid plan to increase your Browser Rende ### Why is my screenshot blurry? If your screenshot is blurry, it may be because you increased the height and width of the viewport. To fix this, increase the value of the `deviceScaleFactor` (default is 1). + +### How can I manage concurrency and session isolation with Browser Rendering? + +If you're hitting concurrency limits or would like to better manage oncurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips: + +- Optimize with tabs or shared browsers: Instead of launching a new browser for each task, consider opening multiple tabs or running multiple actions within the same browser instance. +- [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. IF you're concerned about maintaining test isolation, for example for tests that depend on a clean environment, we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions. + +If you're still running into concurrency limits you can [request a higher limit](https://forms.gle/CdueDKvb26mTaepa9). From cae3e102eabd758a63ae2fb249bd932dfe1409a3 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Fri, 18 Jul 2025 09:26:47 -0700 Subject: [PATCH 2/4] Update src/content/docs/browser-rendering/faq.mdx Co-authored-by: ToriLindsay --- src/content/docs/browser-rendering/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/browser-rendering/faq.mdx b/src/content/docs/browser-rendering/faq.mdx index bd5ffffd08131be..35ce13d83eaf8d4 100644 --- a/src/content/docs/browser-rendering/faq.mdx +++ b/src/content/docs/browser-rendering/faq.mdx @@ -79,7 +79,7 @@ If your screenshot is blurry, it may be because you increased the height and wid ### How can I manage concurrency and session isolation with Browser Rendering? -If you're hitting concurrency limits or would like to better manage oncurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips: +If you are hitting concurrency limits, or would like to better manage concurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips: - Optimize with tabs or shared browsers: Instead of launching a new browser for each task, consider opening multiple tabs or running multiple actions within the same browser instance. - [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. IF you're concerned about maintaining test isolation, for example for tests that depend on a clean environment, we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions. From 1f53fe974bb33b0543fdd34ba04d68e81011ab07 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Fri, 18 Jul 2025 09:27:08 -0700 Subject: [PATCH 3/4] Update src/content/docs/browser-rendering/faq.mdx Co-authored-by: ToriLindsay --- src/content/docs/browser-rendering/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/browser-rendering/faq.mdx b/src/content/docs/browser-rendering/faq.mdx index 35ce13d83eaf8d4..92901743c780fe4 100644 --- a/src/content/docs/browser-rendering/faq.mdx +++ b/src/content/docs/browser-rendering/faq.mdx @@ -82,6 +82,6 @@ If your screenshot is blurry, it may be because you increased the height and wid If you are hitting concurrency limits, or would like to better manage concurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips: - Optimize with tabs or shared browsers: Instead of launching a new browser for each task, consider opening multiple tabs or running multiple actions within the same browser instance. -- [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. IF you're concerned about maintaining test isolation, for example for tests that depend on a clean environment, we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions. +- [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. If you are concerned about maintaining test isolation, for example for tests that depend on a clean environment, we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions. If you're still running into concurrency limits you can [request a higher limit](https://forms.gle/CdueDKvb26mTaepa9). From e7703e6a46642f9feeba877c791ad8cdeade69d6 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Fri, 18 Jul 2025 09:27:37 -0700 Subject: [PATCH 4/4] Update src/content/docs/browser-rendering/faq.mdx Co-authored-by: ToriLindsay --- src/content/docs/browser-rendering/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/browser-rendering/faq.mdx b/src/content/docs/browser-rendering/faq.mdx index 92901743c780fe4..21115a27ab3653d 100644 --- a/src/content/docs/browser-rendering/faq.mdx +++ b/src/content/docs/browser-rendering/faq.mdx @@ -84,4 +84,4 @@ If you are hitting concurrency limits, or would like to better manage concurrent - Optimize with tabs or shared browsers: Instead of launching a new browser for each task, consider opening multiple tabs or running multiple actions within the same browser instance. - [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. If you are concerned about maintaining test isolation, for example for tests that depend on a clean environment, we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions. -If you're still running into concurrency limits you can [request a higher limit](https://forms.gle/CdueDKvb26mTaepa9). +If you are still running into concurrency limits you can [request a higher limit](https://forms.gle/CdueDKvb26mTaepa9).