Cloudflare Worker static assets #16
Closed
alexturpin
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
We're planning to support it, please see vikejs/vike#1901 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I've just come back to the Vike ecosystem after a bit, and it's wonderful to see where it is and with things such as Bati and this project here. Wondering if there are any thoughts on making this plugin work with the new Worker static assets announced recently https://developers.cloudflare.com/workers/static-assets/
There are several advantages to using a Worker project instead of a Pages one, including using things like cron and Durable Objects.
I've been trying to understand how this could work. It seems as if the whole
routes.json
wouldn't be needed? Ideally, in this world, we would have access to the worker code so we could handle things like thescheduled
event, even if maybe that means giving up control offetch
entirely tovike-cloudflare
so it can do the Hono / HatTip handling itself underneath.I'd love to hear what others think.
Beta Was this translation helpful? Give feedback.
All reactions