Skip to content

Commit 091650d

Browse files
committed
Reference guide when to use Snippets vs Workers
1 parent b46af00 commit 091650d

File tree

2 files changed

+563
-1
lines changed

2 files changed

+563
-1
lines changed

src/content/docs/rules/snippets/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,17 @@ Each <GlossaryTooltip term="Snippets subrequest" prepend="A subrequest is ">subr
4949

5050
## Limits
5151

52-
Cloudflare Snippets are lightweight compared to [Cloudflare Workers](/workers/). The following limits apply:
52+
Cloudflare Snippets are designed for fast, lightweight edge logic. The following limits apply:
5353

5454
| Description | All plans |
5555
| -------------------------- | --------- |
5656
| Maximum execution time | 5 ms |
5757
| Maximum memory | 2 MB |
5858
| Maximum total package size | 32 KB |
5959

60+
🔍 **Need guidance on choosing between Snippets and Workers?**
61+
Explore our [detailed guide](/rules/snippets/when-to-use/) for best practices, real-world use cases, and example implementations.
62+
6063
## Execution order
6164

6265
<Render file="product-execution-order" />

0 commit comments

Comments
 (0)