You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The summary can be pretty large, and it is not by itself compressed. We should indicate in the headers when getting this that we accept e.g. Transfer-Encoding: gzip, as that would help with the download size.
This isn't true for the rest of the files though, as they are generally already compressed.
The text was updated successfully, but these errors were encountered:
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 fixesostreedev#802
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 fixesostreedev/ostree#802
Closes: #882
Approved by: cgwalters
(cherry picked from commit be0c02d)
Signed-off-by: Robert McQueen <rob@endlessm.com>
Conflicts:
src/libostree/ostree-fetcher-curl.c (deleted, no curl in this version)
src/libostree/ostree-repo-pull.c (trivial merge)
The summary can be pretty large, and it is not by itself compressed. We should indicate in the headers when getting this that we accept e.g. Transfer-Encoding: gzip, as that would help with the download size.
This isn't true for the rest of the files though, as they are generally already compressed.
The text was updated successfully, but these errors were encountered: