You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Deno compresses responses based on this database of content types. It doesn't include text/event-stream, which is very commonly used for Server-Sent Events (which is really just a normal http response with text/string content of a specific format).
Ive successfully compressed event-stream responses with Caddy with its normal compression encoding directive. Nothing fancy needs to happen to make this work.
It would be great if Deno could support this as well, so that we don't need to implement it in the application or use a proxy like Caddy.
The text was updated successfully, but these errors were encountered:
Currently Deno compresses responses based on this database of content types. It doesn't include text/event-stream, which is very commonly used for Server-Sent Events (which is really just a normal http response with text/string content of a specific format).
Ive successfully compressed event-stream responses with Caddy with its normal compression encoding directive. Nothing fancy needs to happen to make this work.
It would be great if Deno could support this as well, so that we don't need to implement it in the application or use a proxy like Caddy.
The text was updated successfully, but these errors were encountered: