-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetcher: Send Accept-Encoding: gzip when downloading summary
The summary file can get large, but it compresses well (something which is not true of other files in the ostree repo which are already compressed). By sending Accept-Encoding: gzip (and handling the compressed results) we send a lot less data. I set up the flathub repo (http://flathub.org/repo) to enable gzip for the summary file (only), and the result is that the 331514 byte large summary was transferred in 122889 bytes. On my (fast) network this decreased the time i took to do "flatpak remote-ls flathub" by about 100msec. This fixes #802 Closes: #882 Approved by: cgwalters
- Loading branch information
1 parent
5618880
commit be0c02d
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters