Actions
Bug #10365
closedEnable gzip compression on text resources
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
When we load rule details for with a lot of nodes, it is super slow to display, as all data are loaded at once (I get more than 5 MB of data for compliance over 1000 nodes)
Downloading these MB take several second (on slow connection, I have 17s), which is terribly slow
Gzipping the output makes it much faster, 2,5s for only 194KB of data
This is really something we should consider
For the record, here is the change in /opt/rudder/etc/rudder-apache-common.conf
<LocationMatch "/rudder"> Header add X-Chrome-Exponential-Throttling "disable" AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript </LocationMatch>
3.1 with large installation would benefit from it
Actions