Open
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.
Activity