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

Closed
WilfredAlmeida opened this issue Oct 5, 2024 · 1 comment · Fixed by #3340
Closed

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

WilfredAlmeida opened this issue Oct 5, 2024 · 1 comment · Fixed by #3340
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

Copy link
Contributor

Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant