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

Set the Accept-Encoding: gzip header by default for all RPC calls #3338

Open
WilfredAlmeida opened this issue Oct 5, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@WilfredAlmeida
Copy link

Motivation

At Triton One, we've observed that by setting the Accept-Encoding: gzip headers, users can enable compression of their response payloads and thus reduce the response payload size

Example use case

For the getProgramAccounts call, we've observed that responses over 150MB were reduced to <60MB

Details

Set the header by default for all RPC calls

@WilfredAlmeida WilfredAlmeida added the enhancement New feature or request label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant