Closed
Bug 1478957
Opened 7 years ago
Closed 7 years ago
Response data should be compressed
Categories
(Bugzilla :: WebService, enhancement)
Bugzilla
WebService
Tracking
()
RESOLVED
DUPLICATE
of bug 1251064
People
(Reporter: xidorn, Unassigned)
Details
In a web extension I'm developing, I tried to retrieve a list of products and their components. However, it is way too slow.
There are several problems, but I would focus on compression for now.
The url I requested is: https://bugzilla.mozilla.org/rest/product?type=enterable
The size of response is ~67MB, which is way too large for transfer. With level 1 gzip, which takes 0.3s, can compress it to just 5.4MB (and with level 9, gzip takes 1.5s and compresses it to 3.8MB) which could save lots of transfering time.
Brotli can be used as well, which at level 0, takes 0.13s and compresses to 2.2MB, at level 1, takes 0.15s and compresses to 207KB. At the highest level 9, it takes 0.6s and compresses to 160KB.
I think it's very worthwhile to compress the response, I believe.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•