Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support response compression #110

Open
RemiBardon opened this issue Jan 4, 2025 · 0 comments
Open

Support response compression #110

RemiBardon opened this issue Jan 4, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@RemiBardon
Copy link
Member

RemiBardon commented Jan 4, 2025

Once the API will be rewritten using Axum (#95), we will have the opportunity to leverage tower-http's CompressionLayer.

It supports br, deflate, gzip and zstd, but I don't know much about that. @valeriansaliou Which one would work best for the Dashboard?

Compression and SSEs

As a side note, we'll have to disable compression for SSE routes, as mentioned in tokio-rs/axum#2034. Thankfully, the solution is very easy.

Also, see tokio-rs/axum#2728.

@RemiBardon RemiBardon added the enhancement New feature or request label Jan 4, 2025
@github-project-automation github-project-automation bot moved this to Backlog & Ideas 💡 in Prose Pod API to-do list Jan 4, 2025
@RemiBardon RemiBardon changed the title Support compression Support response compression Jan 4, 2025
@RemiBardon RemiBardon added the good first issue Good for newcomers label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Backlog & Ideas 💡
Development

No branches or pull requests

1 participant