Deprecate adapter-cloudflare-workers? #8586
Replies: 5 comments 1 reply
-
cc @jrf0110 |
Beta Was this translation helpful? Give feedback.
-
For nearly everything you would want pages, but in some situations you might want to run a site on workers - probably if something else is going on. If there is no real maintenance burden then keeping it would be preferable IMO. But it's not the end of the world |
Beta Was this translation helpful? Give feedback.
-
I, alongside with @dominikg and @gtm-nayan , have spend almost a year on With that said, I am using only downside I see is: currently you can't configure durable object <> cloudflare page functions programmatically like you can in TLDR: it would not hurt that much if it gets deprecated |
Beta Was this translation helpful? Give feedback.
-
I use SvelteKit in a monorepo containing various Cloudflare Workers, with my own CI pipeline. Each worker gets deployed to a different route on a single subdomain (eg. Cloudflare Pages originally had to be auto deployed from a git repo through Cloudflare, preventing use with monorepos. But it looks like Cloudflare launched Direct Uploads in Oct. 2022 which should solve the monorepo issue. However, Cloudflare Pages still (to my knowledge) only allows deploying a single site per subdomain. Given that, I would still prefer if Workers remained supported for now, unless supporting them is a large maintenance burden. |
Beta Was this translation helpful? Give feedback.
-
The very clear instruction, "To deploy to Cloudflare Pages, use adapter-cloudflare", gets muddied by the mention of four adapters:
As long as there are specific reasons and there is still an And be done with it once there are no more specific reasons -- as Cloudflare does away with Workers? It's confusing. |
Beta Was this translation helpful? Give feedback.
-
We currently have two adapters for Cloudflare —
adapter-cloudflare
, for Cloudflare Pages, andadapter-cloudflare-workers
for Cloudflare Workers.Pages includes GitHub integration, preview deployments, etc so of the two it's the one we'd recommend that people use.
Originally we kept both because Pages was in beta, but it's now GA. Does that mean it's time to retire
adapter-cloudflare-workers
, or are there things you can do with plain Workers that you can't do with Pages?Beta Was this translation helpful? Give feedback.
All reactions