• Resolved Rajibul Islam

    (@rajibms)


    Hi,

    In the Map Tile URL Subdomains contain “abc” by default, and this creates three subdomains like a(.) URL, b(.) URL, c(.) URL. Everything is fine, but these three subdomains lookup dns for three times and it causes higher page load time.

    I have tried with only “a” subdomain, which also working fine, and it creates single subdomain and lookup dns for once. Result in Page will load little faster.

    My question is, Should I continue using Map Tile URL Subdomain as “a”? and Will it create any issue in future?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor hupe13

    (@hupe13)

    You can of course specify only one subdomain if the tile server supports it. It is unusual that DNS queries take so much time. The purpose of multiple subdomains is to distribute the load of tile queries.

    • This reply was modified 2 years ago by hupe13.
    Thread Starter Rajibul Islam

    (@rajibms)

    Thank You

    Plugin Contributor hupe13

    (@hupe13)

    Are you use tiles from openstreetmap.org? Answering an other question I have noticed that at openstreetmap.org the subdomain does not need to be specified anymore.
    https://leaflet-extras.github.io/leaflet-providers/preview/

    Thread Starter Rajibul Islam

    (@rajibms)

    You are awesome.

    Yes, I am using OpenStreetMap tiles, and after following yours, it’s working fine without the subdomain.

    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need help with Map Tile URL Subdomains’ is closed to new replies.