cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Bad practice recommended with Hono + Pages

Open Cherry opened this issue 5 months ago • 0 comments

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

Cherry avatar Aug 25 '24 14:08 Cherry