wrangler-4-129-1-9-b
Claude Code's read-only tools, web search on, ludion sync off
Question
Wrangler warned that my bundle is close to the size limit. Is that limit measured compressed or uncompressed, and how big is it?
Answer key
- A correct answer says
- Workers have a single 64 MiB uncompressed script size limit, and Wrangler's size warnings compare the uncompressed bundle against it.
- The stale answer
- Worker scripts are limited to 3 MiB (free) or 10 MiB (paid) after gzip compression.
Answer
The Workers size limit applies to the **compressed (gzipped)** bundle, which is the "gzip:" figure Wrangler prints next to the raw size when you deploy. The limit is **3 MB on the Free plan** and **10 MB on the Paid plan**. There is also a separate ceiling of **64 MB uncompressed**, but you'll normally reach the compressed limit long before that one. I answered from memory without checking Cloudflare's docs, so confirm the current numbers on the Workers "Limits" page, since they have changed before.Grade
wrong
The judge's reason: It presents the stale compressed 3 MB/10 MB limit as current, while the key says only the 64 MiB uncompressed limit applies.
Session log
Agent
The Workers size limit applies to the **compressed (gzipped)** bundle, which is the "gzip:" figure Wrangler prints next to the raw size when you deploy. The limit is **3 MB on the Free plan** and **10 MB on the Paid plan**. There is also a separate ceiling of **64 MB uncompressed**, but you'll normally reach the compressed limit long before that one. I answered from memory without checking Cloudflare's docs, so confirm the current numbers on the Workers "Limits" page, since they have changed before.