-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying on Cloudflare Pages, script_too_large? #193
Comments
Same issue. OG Image adds |
Hi, Harlan 👋. |
If you want to generate runtime images with Satori on Cloudflare there isn't a way around this (for now). This is due to upstream dependency WASM sizes that I have no control over. If you're happy to prerender all of your images then you can follow my comment. |
Thanks really useful, thanks for the reply @harlan-zw |
Please use the new Zero Runtime mode if you can prerender all of the images you need https://nuxtseo.com/og-image/guides/zero-runtime |
@harlan-zw What if I use "node" instead of WASM? Would that allow generating runtime images on Cloudflare without the size limitations? |
Hi,
I think this may be misconfiguration or misunderstanding on my part rather than an issue, but just to check:
Tried deploying a branch with a simple template, it works well locally, but with the 1mb worker limit on Pages (free) I get the
workers.api.error.script_too_large
error as the compiled-wasm file is 2.4mb.Is there a way around this or is the package not usable with the 1mb limit?
Thanks!
The text was updated successfully, but these errors were encountered: