Skip to content

Commit 1905b72

Browse files
committed
Removing reference to needing Workers Paid plan to
use DOs.
1 parent b189b19 commit 1905b72

File tree

3 files changed

+17
-25
lines changed

3 files changed

+17
-25
lines changed

src/content/docs/browser-rendering/workers-binding-api/browser-rendering-with-DO.mdx

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,15 @@ Create a new Worker project named `browser-worker` by running:
3434
args={"browser-worker"}
3535
/>
3636

37-
## 2. Enable Durable Objects in the dashboard
38-
39-
To enable Durable Objects, you will need to purchase the Workers Paid plan:
40-
41-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account.
42-
2. Go to **Workers & Pages** > **Plans**.
43-
3. Select **Purchase Workers Paid** and complete the payment process to enable Durable Objects.
44-
45-
## 3. Install Puppeteer
37+
## 2. Install Puppeteer
4638

4739
In your `browser-worker` directory, install Cloudflare’s [fork of Puppeteer](/browser-rendering/platform/puppeteer/):
4840

4941
```sh
5042
npm install @cloudflare/puppeteer --save-dev
5143
```
5244

53-
## 4. Create a R2 bucket
45+
## 3. Create a R2 bucket
5446

5547
Create two R2 buckets, one for production, and one for development.
5648

@@ -69,7 +61,7 @@ wrangler r2 bucket list
6961

7062
After running the `list` command, you will see all bucket names, including the ones you have just created.
7163

72-
## 5. Configure your Wrangler configuration file
64+
## 4. Configure your Wrangler configuration file
7365

7466
Configure your `browser-worker` project's [Wrangler configuration file](/workers/wrangler/configuration/) by adding a browser [binding](/workers/runtime-apis/bindings/) and a [Node.js compatibility flag](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). Browser bindings allow for communication between a Worker and a headless browser which allows you to do actions such as taking a screenshot, generating a PDF and more.
7567

@@ -107,7 +99,7 @@ new_classes = ["Browser"] # Array of new classes
10799

108100
</WranglerConfig>
109101

110-
## 6. Code
102+
## 5. Code
111103

112104
The code below uses Durable Object to instantiate a browser using Puppeteer. It then opens a series of web pages with different resolutions, takes a screenshot of each, and uploads it to R2.
113105

@@ -220,11 +212,11 @@ export class Browser {
220212
}
221213
```
222214

223-
## 7. Test
215+
## 6. Test
224216

225217
Run [`npx wrangler dev --remote`](/workers/wrangler/commands/#dev) to test your Worker remotely before deploying to Cloudflare's global network. Local mode support does not exist for Browser Rendering so `--remote` is required.
226218

227-
## 8. Deploy
219+
## 7. Deploy
228220

229221
Run [`npx wrangler deploy`](/workers/wrangler/commands/#deploy) to deploy your Worker to the Cloudflare global network.
230222

src/content/docs/durable-objects/platform/limits.mdx

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

1111
Durable Objects limits are the same as [Workers Limits](/workers/platform/limits/), as well as the following limits that are specific to Durable Objects:
1212

13-
| Feature | Limit for class with key-value storage backend | Limit for class with SQLite storage backend [^1] |
14-
| --------------------------------- | ---------------------------------------------------------------- | ----------------------------------------------- |
13+
| Feature | Limit for class with key-value storage backend | Limit for class with SQLite storage backend [^1] |
14+
| --------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
1515
| Number of Objects | Unlimited (within an account or of a given class) | Unlimited (within an account or of a given class) |
1616
| Maximum Durable Object namespaces | 500 (identical to the [script limit](/workers/platform/limits/)) | 500 (identical to the [script limit](/workers/platform/limits/)) |
1717
| Storage per account | 50 GB (can be raised by contacting Cloudflare) [^2] | 50 GB (can be raised by contacting Cloudflare) [^2] |
@@ -32,15 +32,15 @@ Durable Objects limits are the same as [Workers Limits](/workers/platform/limits
3232

3333
For Durable Object classes with [SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend) these SQL limits apply:
3434

35-
| SQL | Limit |
36-
| -------------------------------------------------------- | ----- |
37-
| Maximum number of columns per table | 100 |
35+
| SQL | Limit |
36+
| -------------------------------------------------------- | ----------------------------------------------- |
37+
| Maximum number of columns per table | 100 |
3838
| Maximum number of rows per table | Unlimited (excluding per-object storage limits) |
39-
| Maximum string, `BLOB` or table row size | 2 MB |
40-
| Maximum SQL statement length | 100 KB |
41-
| Maximum bound parameters per query | 100 |
42-
| Maximum arguments per SQL function | 32 |
43-
| Maximum characters (bytes) in a `LIKE` or `GLOB` pattern | 50 bytes |
39+
| Maximum string, `BLOB` or table row size | 2 MB |
40+
| Maximum SQL statement length | 100 KB |
41+
| Maximum bound parameters per query | 100 |
42+
| Maximum arguments per SQL function | 32 |
43+
| Maximum characters (bytes) in a `LIKE` or `GLOB` pattern | 50 bytes |
4444

4545
<Render file="limits_increase" product="workers" />
4646

src/content/release-notes/hyperdrive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ entries:
9090
- publish_date: "2023-09-28"
9191
title: Hyperdrive now available
9292
description: |-
93-
Hyperdrive is now available in public beta to any developer with a Workers paid plan.
93+
Hyperdrive is now available in public beta to any developer with a Workers Paid plan.
9494
9595
To start using Hyperdrive, visit the [get started](/hyperdrive/get-started/) guide or read the [announcement blog](https://blog.cloudflare.com/hyperdrive-making-regional-databases-feel-distributed/) to learn more.

0 commit comments

Comments
 (0)