Hi everyone. I've searched on the discord and the docs, and there's discussion around worker size li
Hi everyone. I've searched on the discord and the docs, and there's discussion around worker size limit, but couldn't figure out exactly what "counts" or how to calculate the exact size of my app.
We are on an enterprise plan, and I know right now we're nowhere close to the limit with our prod app, but I want to plan for the future. I know its gzipped size, 10mb limit, but what "counts"? Is it everything thats uploaded to the worker? Do the new static asset support count or not? I upload sourcemaps with the code, do the sourcemaps count?
Any patterns people use to reduce size that I should know from day 1? (eg: obviously large static assets should be hosted outside of the Worker. Anything else in the captain obvious category)?
We are on an enterprise plan, and I know right now we're nowhere close to the limit with our prod app, but I want to plan for the future. I know its gzipped size, 10mb limit, but what "counts"? Is it everything thats uploaded to the worker? Do the new static asset support count or not? I upload sourcemaps with the code, do the sourcemaps count?
Any patterns people use to reduce size that I should know from day 1? (eg: obviously large static assets should be hosted outside of the Worker. Anything else in the captain obvious category)?