From cd49f75b62fcc0b3f8d7e7618d9d00baec01c49f Mon Sep 17 00:00:00 2001 From: korinne <40270578+korinne@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:37:56 -0800 Subject: [PATCH] Updates pricing and limits in Workers Static Assets Includes updates to pricing information for storing assets on Workers, as well as file size limits --- src/content/docs/workers/static-assets/index.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content/docs/workers/static-assets/index.mdx b/src/content/docs/workers/static-assets/index.mdx index 14a161f342ab3e1..d6c910034dd02fc 100644 --- a/src/content/docs/workers/static-assets/index.mdx +++ b/src/content/docs/workers/static-assets/index.mdx @@ -67,6 +67,8 @@ Requests to a project with static assets can either return static assets or invo **Requests to static assets are free and unlimited**. Requests to the Worker script (e.g. in the case of SSR content) are billed according to Workers pricing. Refer to [pricing](/workers/platform/pricing/#example-2) for an example. +There's no additional cost for storing Assets. + ### Troubleshooting - `assets.bucket is a required field` — if you see this error, you need to update Wrangler to at least `3.78.10` or later. `bucket` is not a required field. @@ -75,6 +77,7 @@ Requests to a project with static assets can either return static assets or invo The following limitations apply for Workers with static assets: +- There is a 20,000 file count limit per [Worker version](/workers/configuration/versions-and-deployments/), and a 25 MiB individual file size limit. This matches the [limits in Cloudflare Pages](/pages/platform/limits/) today. - You cannot yet enable [Smart Placement](/workers/configuration/smart-placement/) projects with static assets. This is a temporary limitation, we are working to remove it. - You cannot upload static assets to [Workers for Platforms](/cloudflare-for-platforms/workers-for-platforms/) [user workers](/cloudflare-for-platforms/workers-for-platforms/reference/how-workers-for-platforms-works/). This is a temporary limitation, we are working to remove it. - In local development, you cannot make [Service Binding RPC calls](/workers/runtime-apis/bindings/service-bindings/rpc/) to a Worker with static assets. This is a temporary limitation, we are working to remove it.