Reduce worker size on Cloudflare β
Hi,
I was deploying simple site having 6 pages, no API endpoints + Nuxt SEO.
While I was deploying it over the edge, I'm getting error from worker size limit (1MB on free plan) which is mentioned in this blog: https://nuxt.com/blog/nuxt-on-the-edge
- This is very simple minimal app and still it's taking more than 1MB so how can I inspect and reduce the worker size?
- What increses the size of worker so I can take care of it in future?
Nuxt
Nuxt on the Edge Β· Nuxt Blog
Learn how we made Nuxt 3 capable of running on edge runtimes to run with server-side rendering close to your users.
5 Replies
(you should disable og image)
Hey Harlan, Nice to see you. I really appreciate your efforts on SEO π«‘
If I disable the OG Image module then do we manully have to handle them like traditional JS web app? Isn't there any middle ground?
Do you know in future what kind of things add upto my worker size which I should be aware of after disabling OG image module?
yes the middle ground is to pay $5 / mo π (or just prerender all the pages)
nuxt itself is like ~700kb last time I checked so it's very close to the limit, Cloudflare need to bump it up a bit
ohk, Thanks man.