prefetch

suspend fun prefetch(site: Site): Int(source)

Warm every tile a sweep of site will touch.


suspend fun prefetch(area: GeoBounds? = bounds): Int(source)

Warm every tile inside area before anything asks for one, many at a time.

Optional (sampling fetches on demand without it), and returns how many tiles it warmed. Worth calling anyway: on-demand misses arrive one radial at a time, while this issues the whole disc at once and lets the requests overlap.