Skip to content
Cloudflare Docs

Billing and Limitations

Billing

Requests to a project with static assets can either return static assets or invoke the Worker script, depending on if the request matches a static asset or not.

Requests to static assets are free and unlimited. Requests to the Worker script (for example, in the case of SSR content) are billed according to Workers pricing. Refer to pricing for an example.

There is no additional cost for storing Assets.

Limitations

The following limitations apply for Workers with static assets:

Headers

A _headers file may contain up to 100 rules and each line may contain up to 2,000 characters. The entire line, including spacing, header name, and value, counts towards this limit.

Redirects

A _redirects file may contain up to 2,000 static redirects and 100 dynamic redirects, for a combined total of 2,100 redirects. Each redirect declaration has a 1,000-character limit.

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.