-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable multiple sub-domains/domains template for ULRBuilder #942
Comments
With HTTP/2, you'd better use the same server to benefit from multiplexing over the same connection. Granted, for those few, older, browsers that don't support HTTP/2 (really not that much: https://caniuse.com/http2, tl;dr: IE11 on Win7, IE mobile, and UC Browser), "sharding" that way could be beneficial (particularly in this case as the setup of those OSM servers allows for HTTP/2 connection coalescing: names resolving to the same IP and covered by the same TLS certificate). Are IE11 on Win7, IE mobile, and UC Browser the reason you ask for this feature? Or was there any other reason? |
Yes, exactly - IE11 on Win7 was a major reason for this request. It's a common corporate "suite" and will be hanging around for a long time... |
I'm not familiar with this format, what are the resulting urls ? |
It was just a staged example, no actual standards were taken into consideration (if any). For example, resulting URLs based on following template: ...would produce following (continuously) alternating calls: Or, for example, resulting URLs based on following template: ...would produce following (continuously) alternating calls: |
Thanks, that seems simple to implement ! I added the tag |
Implemented in #1189 |
Currently it's possible to set following URL for e.g. OpenStreetMap layer source:
https://a.tile.openstreetmap.org/${z}/${x}/${y}.png
It would be beneficial (in terms of speed and efficiency) if we could set alternating sub-domains/domains on URL based on specified rule, for example:
https://${u:a|b|c}.tile.openstreetmap.org/${z}/${x}/${y}.png
...or, for example:
https://${u:xyz.org|yzx.org|zxy.org}/${z}/${x}/${y}.png
The text was updated successfully, but these errors were encountered: