Skip to content

Commit 02ec22a

Browse files
committed
Added footnotes component & legend
1 parent 91e869f commit 02ec22a

File tree

1 file changed

+31
-38
lines changed

1 file changed

+31
-38
lines changed

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

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,53 @@ import {
1111
Badge,
1212
Description,
1313
FileTree,
14+
Footnotes,
1415
InlineBadge,
1516
Render,
1617
TabItem,
1718
Tabs,
1819
} from "~/components";
1920

20-
You can deploy full-stack applications, including front-end static assets and back-end APIs and server-side rendered pages (SSR), to both Cloudflare [Workers](/workers/static-assets/) and [Pages](/pages/). The compatibility matrix below shows which features are available for each, to help you choose whether to build with Workers or Pages. Unless otherwise stated below, what works in Pages works in Workers, and what works in Workers works in Pages. Think something is missing from this list? [Open a pull request](https://github.com/cloudflare/cloudflare-docs/edit/production/src/content/docs/workers/static-assets/compatibility-matrix.mdx) or [create a GitHub issue](https://github.com/cloudflare/cloudflare-docs/issues/new).
21+
You can deploy full-stack applications, including front-end static assets and back-end APIs, as well as server-side rendered pages (SSR), to both Cloudflare [Workers](/workers/static-assets/) and [Pages](/pages/). The compatibility matrix below shows which features are available for each, to help you choose whether to build with Workers or Pages. Unless otherwise stated below, what works in Pages works in Workers, and what works in Workers works in Pages. Think something is missing from this list? [Open a pull request](https://github.com/cloudflare/cloudflare-docs/edit/production/src/content/docs/workers/static-assets/compatibility-matrix.mdx) or [create a GitHub issue](https://github.com/cloudflare/cloudflare-docs/issues/new).
2122

2223
We plan to bridge the gaps between Workers and Pages and provide ways to migrate your Pages projects to Workers.
2324

25+
**Legend**
26+
✅: Supported <br />
27+
⏳: Coming soon <br />
28+
🟡: Unsupported, workaround available <br />
29+
❌: Unsupported
30+
2431

2532
| | Workers | Pages |
2633
| ----------------------------------------------------------------------------------- | ------------------------ | ----- |
2734
| **Writing, Testing, and Deploying Code** | | |
2835
| [Rollbacks](/workers/configuration/versions-and-deployments/rollbacks/) |||
2936
| [Gradual Deployments](/workers/configuration/versions-and-deployments/) |||
3037
| [Preview URLs](/workers/configuration/previews) |||
31-
| [Testing tools](/workers/testing) |||
38+
| [Testing tools](/workers/testing) |||
3239
| [Local Development](/workers/testing/local-development/) |||
33-
| [Remote Development (`--remote`)](/workers/wrangler/commands/) | ✅ <sup>1</sup> ||
40+
| [Remote Development (`--remote`)](/workers/wrangler/commands/) | 🟡 [^1] ||
3441
| [Quick Editor in Dashboard](https://blog.cloudflare.com/improved-quick-edit) |||
3542
| **Static Assets** | | |
3643
| [Early Hints](/pages/configuration/early-hints/) |||
37-
| [Custom HTTP headers for static assets](/pages/configuration/headers/) | 🟡 <sup>2</sup> ||
38-
| [Middleware](/pages/functions/middleware/) | 🟡 <sup>3</sup> ||
39-
| [Redirects](/pages/configuration/redirects/) | 🟡 <sup>4</sup> ||
40-
| [Smart Placement](/workers/configuration/smart-placement/) |<sup>5</sup> ||
44+
| [Custom HTTP headers for static assets](/pages/configuration/headers/) | 🟡 [^2] ||
45+
| [Middleware](/pages/functions/middleware/) | 🟡 [^3] ||
46+
| [Redirects](/pages/configuration/redirects/) | 🟡 [^4] ||
47+
| [Smart Placement](/workers/configuration/smart-placement/) |[^5] ||
4148
| **Observability** | | |
4249
| [Workers Logs](/workers/observability/) |||
4350
| [Logpush](/workers/observability/logs/logpush/) |||
44-
| [Tail Workers](/workers/observability/logs/tail-workers/) |<sup>6</sup> ||
51+
| [Tail Workers](/workers/observability/logs/tail-workers/) |[^6] ||
4552
| [Real-time logs](/workers/observability/logs/real-time-logs/) |||
46-
| **Runtime APIs & Compute Models** | | |
53+
| **Runtime APIs & Compute Models** | | |
4754
| [Node.js Compatibility Mode](/workers/runtime-apis/nodejs/) |||
48-
| [Durable Objects](/durable-objects/api/) || 🟡 <sup>7</sup> |
55+
| [Durable Objects](/durable-objects/api/) || 🟡 [^7]|
4956
| [Cron Triggers](/workers/configuration/cron-triggers/) |||
50-
| **Bindings** | | |
57+
| **Bindings** | | |
5158
| [AI](/workers-ai/get-started/workers-wrangler/#2-connect-your-worker-to-workers-ai) |||
5259
| [Analytics Engine](/analytics/analytics-engine) |||
53-
| [Assets](/workers/static-assets/binding/) || |
60+
| [Assets](/workers/static-assets/binding/) || |
5461
| [Browser Rendering](/browser-rendering) |||
5562
| [D1](/d1/build-with-d1/d1-client-api/) |||
5663
| [Environment Variables](/workers/configuration/environment-variables/) |||
@@ -71,39 +78,25 @@ We plan to bridge the gaps between Workers and Pages and provide ways to migrate
7178
| [Build Caching](/pages/configuration/build-caching/) |||
7279
| [Custom Preview Branches](/pages/configuration/branch-build-controls/) |||
7380
| [Custom Branch Aliases](/pages/how-to/custom-branch-aliases/) |||
74-
| **Pages Functions** | | |
75-
| [File-based Routing](/pages/functions/routing/) |<sup>8</sup> ||
76-
| [Pages Plugins](/pages/functions/plugins/) |<sup>9</sup> ||
81+
| **Pages Functions** | | |
82+
| [File-based Routing](/pages/functions/routing/) |[^8] ||
83+
| [Pages Plugins](/pages/functions/plugins/) |[^9] ||
7784

7885

79-
<sup>1</sup> 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).
86+
[^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).
8087

81-
<sup>2</sup> Similar to <sup>1</sup>, to customize the HTTP headers that
82-
are returned by static assets, you can use [Service
83-
bindings](/workers/runtime-apis/bindings/service-bindings/) to connect a Worker
84-
in front of the Worker with assets.
88+
[^2]: Similar to <sup>3</sup>, to customize the HTTP headers that are returned by static assets, you can use [Service bindings](/workers/runtime-apis/bindings/service-bindings/) to connect a Worker in front of the Worker with assets.
8589

86-
<sup>3</sup> If you need to run a Worker before serving static assets,
87-
you can create a separate Worker that acts as middleware, and then use [Service
88-
bindings](/workers/runtime-apis/bindings/service-bindings/) to forward the request
89-
to the Worker with assets. We plan to explore additional configuration
90-
to support more complex routing in the future.
90+
[^3]: If you need to run a Worker before serving static assets, you can create a separate Worker that acts as middleware, and then use [Service bindings](/workers/runtime-apis/bindings/service-bindings/) to forward the request to the Worker with assets. We plan to explore additional configuration to support more complex routing in the future.
9191

92-
<sup>4</sup> You can handle redirects by adding code to your Worker (a
93-
[community package](https://npmjs.com/package/redirects-in-workers) is available
94-
for `_redirects` support), or you can use [Bulk
95-
Redirects](/rules/url-forwarding/bulk-redirects/).
92+
[^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/).
9693

97-
<sup>5</sup> You cannot yet enable [Smart
98-
Placement](/workers/configuration/smart-placement/) for Workers with static assets.
99-
This is a temporary limitation we are working to remove.
94+
[^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.
10095

101-
<sup>6</sup> You cannot yet add a [Tail
102-
Worker](/workers/observability/logs/tail-workers/) to a project with assets.
103-
This is a temporary limitation we are working to remove.
96+
[^6]: You cannot yet add a [Tail Worker](/workers/observability/logs/tail-workers/) to a project with assets. This is a temporary limitation we are working to remove.
10497

105-
<sup>7</sup> 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.
98+
[^7]: 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.
10699

107-
<sup>8</sup> Workers [supports popular frameworks](/workers/frameworks/), many of which implement file-based routing.
100+
[^8]: Workers [supports popular frameworks](/workers/frameworks/), many of which implement file-based routing.
108101

109-
<sup>9</sup> 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.
102+
[^9]: 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)