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

Enable gzip compression by default #86860

Open
dleonard-nasuni opened this issue Apr 24, 2024 · 0 comments
Open

Enable gzip compression by default #86860

dleonard-nasuni opened this issue Apr 24, 2024 · 0 comments

Comments

@dleonard-nasuni
Copy link

Why is this needed:

I had noticed the grafana load times getting gradually longer over the past few months as I upgraded versions. This issue helped reduce load times (on first access, i.e. login page) from 40s, down to 9s just by setting gzip_enabled=true. The doc mentions it defaulting to false for compatibility reasons, but true is the recommended value for most customers. With major version 11 of Grafana coming up, I'm wondering if now would be an opportune time to push a breaking change for the few that benefits the majority, and document it with release/upgrade notes, with instructions on identifying when gzip_enabled should be false.

As a Grafana user of 6 years, this was the first time I had come across the need for this config, and believe it could benefit a lot of users, especially as more features get added to this excellent tool that add additional network calls in the browser.

What would you like to be added:

  1. In grafana.ini's [server] section, replace ;enable_gzip = false to enable_gzip = true
  2. Add documentation in release/upgrade notes for this change, and what situations/logs that would indicate enable_gzip should be disabled

Who is this feature for?

All users

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

No branches or pull requests

2 participants