-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
enhancementNew feature or requestNew feature or requestweb-apiSomething that relates to a standard Web APISomething that relates to a standard Web APIwintercgWeb-interoperable Runtimes Community Group compatiblityWeb-interoperable Runtimes Community Group compatiblity
Description
What is the problem this feature would solve?
The compress middleware in Hono depends on CompressStream, which isn't implemented by WebKit. By adding it, it would increase the performance of transferring static assets such as CSS and SVG files.
What is the feature you are proposing to solve the problem?
Implement CompressionStream in Bun. That would automatically allow the compress middleware in Hono to work, and it would enable more Bun-optimized frameworks like Elysia to design their own middleware.
What alternatives have you considered?
It might be possible to implement CompressStream in WebKit and use that.
marbemac, jmandel, adamsro, sylvainbaronnet, jimmywarting and 135 morecesargdm, ocho-cesar, chneau, hahouari and unnoqfrytg, hen-x, P1N2O, kravetsone, sunneydev and 19 moremaxmilton, NVolcz, cesargdm, ocho-cesar, chneau and 4 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestweb-apiSomething that relates to a standard Web APISomething that relates to a standard Web APIwintercgWeb-interoperable Runtimes Community Group compatiblityWeb-interoperable Runtimes Community Group compatiblity