I’m running Nuxt on a Cloudflare worker, and it seems like static file delivery is also being handled as a worker request, but I’m not sure.
I would like to deliver static files via CDN, does anyone know how to do this?
I think we had a long discussion previously about caching in front of Workers:
Currently, no matter what, a Cloudflare Worker will run in front of CF’s cache. This makes Workers unappealing for doing things like serving static content (obtained via a complicated scheme only Workers can do) since you will be billed for every request; in this situation, it makes much more sense to build on another Serverless platform like Lambda or Cloud Functions since then you could have it serve the static content and get CF to cache the responses, all at a fraction of the price of what i…
1 Like
system
closed
April 14, 2022, 4:06am
#3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.