Skip to content

Commit ffe9c06

Browse files
committed
Enable Smart Placement for Workers with Assets
1 parent 104294f commit ffe9c06

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/content/docs/workers/static-assets/compatibility-matrix.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ We plan to bridge the gaps between Workers and Pages and provide ways to migrate
4242
| [Custom HTTP headers for static assets](/pages/configuration/headers/) | 🟡 [^2] ||
4343
| [Middleware](/pages/functions/middleware/) | 🟡 [^3] ||
4444
| [Redirects](/pages/configuration/redirects/) | 🟡 [^4] ||
45-
| [Smart Placement](/workers/configuration/smart-placement/) | [^5] ||
45+
| [Smart Placement](/workers/configuration/smart-placement/) | ||
4646
| **Observability** | | |
4747
| [Workers Logs](/workers/observability/) |||
4848
| [Logpush](/workers/observability/logs/logpush/) |||
4949
| [Tail Workers](/workers/observability/logs/tail-workers/) |||
5050
| [Real-time logs](/workers/observability/logs/real-time-logs/) |||
5151
| **Runtime APIs & Compute Models** | | |
5252
| [Node.js Compatibility Mode](/workers/runtime-apis/nodejs/) |||
53-
| [Durable Objects](/durable-objects/api/) || 🟡 [^6] |
53+
| [Durable Objects](/durable-objects/api/) || 🟡 [^5] |
5454
| [Cron Triggers](/workers/configuration/cron-triggers/) |||
5555
| **Bindings** | | |
5656
| [AI](/workers-ai/get-started/workers-wrangler/#2-connect-your-worker-to-workers-ai) |||
@@ -78,8 +78,8 @@ We plan to bridge the gaps between Workers and Pages and provide ways to migrate
7878
| [Branch Deploy Controls](/pages/configuration/branch-build-controls/) |||
7979
| [Custom Branch Aliases](/pages/how-to/custom-branch-aliases/) |||
8080
| **Pages Functions** | | |
81-
| [File-based Routing](/pages/functions/routing/) |[^7] ||
82-
| [Pages Plugins](/pages/functions/plugins/) |[^8] ||
81+
| [File-based Routing](/pages/functions/routing/) |[^6] ||
82+
| [Pages Plugins](/pages/functions/plugins/) |[^7] ||
8383

8484
[^1]: Does not currently support Workers with static assets. For more details on which bindings are supported in remote development, [refer to the docs](/workers/testing/local-development/#supported-resource-bindings-in-different-environments).
8585

@@ -89,10 +89,8 @@ We plan to bridge the gaps between Workers and Pages and provide ways to migrate
8989

9090
[^4]: You can handle redirects by adding code to your Worker (a [community package](https://npmjs.com/package/redirects-in-workers) is available for `_redirects` support), or you can use [Bulk Redirects](/rules/url-forwarding/bulk-redirects/).
9191

92-
[^5]: You cannot yet enable [Smart Placement](/workers/configuration/smart-placement/) for Workers with static assets. This is a temporary limitation we are working to remove.
92+
[^5]: To [use Durable Objects with your Cloudflare Pages project](/pages/functions/bindings/#durable-objects), you must create a separate Worker with a Durable Object and then declare a binding to it in both your Production and Preview environments. Using Durable Objects with Workers is simpler and recommended.
9393

94-
[^6]: To [use Durable Objects with your Cloudflare Pages project](/pages/functions/bindings/#durable-objects), you must create a separate Worker with a Durable Object and then declare a binding to it in both your Production and Preview environments. Using Durable Objects with Workers is simpler and recommended.
94+
[^6]: Workers [supports popular frameworks](/workers/frameworks/), many of which implement file-based routing.
9595

96-
[^7]: Workers [supports popular frameworks](/workers/frameworks/), many of which implement file-based routing.
97-
98-
[^8]: Everything that is possible with Pages Functions can also be achieved by adding code to your Worker or by using framework-specific plugins for relevant third party tools.
96+
[^7]: Everything that is possible with Pages Functions can also be achieved by adding code to your Worker or by using framework-specific plugins for relevant third party tools.

0 commit comments

Comments
 (0)