fifi
November 21, 2019, 5:26pm
1
We started playing with using Cloudflare Workers to speed up our website.
I don’t think we’re that big yet (4G, 60k files) but unfortunately we already ran into some issues uploading our site.
opened 12:19PM - 21 Nov 19 UTC
closed 05:42AM - 09 Jan 22 UTC
bug
sites
interface
timed out
### 🐛 Bug Report
```
Uploading...
Uploading...
Success
⬇️ Installing w… ranglerjs...
⬇️ Installing wasm-pack...
Built successfully, built project size is 11 KiB.
Error: Something went wrong! Status: 400 Bad Request, Details {
"result": null,
"success": false,
"errors": [
{
"code": 10027,
"message": "workers.api.error.script_too_large"
}
],
"messages": []
}
```
#### Environment
* ubuntu
* output of `rustc -V`: not found: rustc
* output of `node -v`: v10.17.0
* output of `wrangler -V`: wrangler 1.6.0
#### Steps to reproduce
`wrangler publish --verbose --env=prod`
on a directory with 60k+ files of size 4.2G.
#### What did you expect to see?
Success
#### What did you see instead?
` "message": "workers.api.error.script_too_large"`
So when choosing Cloudflare Workers, I’d like to know will we be able to scale this up?
thomas4
November 21, 2019, 6:45pm
2
If you can get past the bugs and issues, workers are extremely stable and fast and it keeps getting better at a very fast rate. I’d bet that this particular issue is related to how Wrangler calculates the package-size, but that shouldn’t affect uploading site-assets that maps to KV’s unless any asset is larger than 10MB.
1 Like
system
Closed
December 21, 2019, 5:26pm
3
This topic was automatically closed after 30 days. New replies are no longer allowed.