cloudflare-docs
cloudflare-docs copied to clipboard
Bad practice recommended with Hono + Pages
Existing documentation URL(s)
https://developers.cloudflare.com/pages/framework-guides/deploy-a-hono-site/
What changes are you suggesting?
This page is encouraging users to use Hono to serve assets. This is bad practice. It'll cause an unnecessary Worker invocation (and therefore potentially additional fees for users), instead of using something like Pages Functions Routing, or _routes.json
.
It's also extremely confusing to end-users why and how Pages is used here.
Additional information
No response