Feature-request: use http/2 for map download and browsing

You can tell us what you like or don't like in AlpineQuest, and what you would like to see in future releases.
KingFu

Feature-request: use http/2 for map download and browsing

Post by KingFu » Wed Apr 15, 2020 3:53 pm

Hi,
Alpinequest is using http/1.1 for downloading tile images from map servers. Either on browsing of downloading an area.
http/2 is supported by more and more map servers and it really allows much faster tile downloading specially on slow connections.
You can see a demo on this page https://http2.akamai.com/demo using any modern browser.

So please using http/2 by default whenever enabled.

Psyberia-Support
Site Admin
Posts: 4884
Joined: Wed Apr 14, 2010 9:41 pm

Re: Feature-request: use http/2 for map download and browsing

Post by Psyberia-Support » Thu Apr 16, 2020 8:15 am

You're right, it would be better.
However AlpineQuest uses the stock Android API http client, and right now unfortunately it doesn't support HTTP 2.
The only way would be to use a third party library, which is not planned for now.
Do you like AlpineQuest ? Leave a small comment on Google Play !

KingFu

Re: Feature-request: use http/2 for map download and browsing

Post by KingFu » Thu Apr 16, 2020 3:16 pm

Can you add Okhttp as an option?
https://github.com/square/okhttp

You can allow it to be enabled as experimental feature on settings until you feel it's stable enough.

Psyberia-Support
Site Admin
Posts: 4884
Joined: Wed Apr 14, 2010 9:41 pm

Re: Feature-request: use http/2 for map download and browsing

Post by Psyberia-Support » Thu Apr 16, 2020 5:34 pm

This is what I meant by third party libraries.
OkHttp have various requirements that will reduce compatibility an increase the app size of at least 50%.
It will also require some work and a lot of testing. And this for each new OkHttp release or its dependencies. So right now unfortunately I don't have the time...
But I add this in the wanted features list, because the support itself would be good.
Do you like AlpineQuest ? Leave a small comment on Google Play !

Post Reply