Skip to content

Conversation

@eduwass
Copy link
Contributor

@eduwass eduwass commented Dec 10, 2024

Summary

This PR updates the documentation to address issues caused by GZip compression interfering with Server-Sent Events (SSE) when using @adonisjs/transmit. It explains how to disable GZip for the text/event-stream content type while keeping compression enabled for other content types.

Changes

  1. Added a new section: "Avoiding GZip Interference" in the transmit.md file.
  2. Included configuration examples for:
    • Traefik: Demonstrates how to use the excludedcontenttypes option.

### Summary

This PR updates the documentation to address issues caused by GZip compression interfering with Server-Sent Events (SSE) when using `@adonisjs/transmit`. It explains how to disable GZip for the `text/event-stream` content type while keeping compression enabled for other content types. 

### Changes
1. Added a new section: "Avoiding GZip Interference" in the `transmit.md` file.
2. Included configuration examples for:
   - **Traefik**: Demonstrates how to use the `excludedcontenttypes` option.
Copy link
Member

@RomainLanz RomainLanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RomainLanz RomainLanz merged commit f789e3a into boringnode:0.x Dec 10, 2024
@RomainLanz
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants