This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Overzoom cached/offline tiles #123
Labels
Comments
Yeah, we should definitely add a caching layer, but I'm not sure how it should look. Right now, I'm thinking of adding one in the "tile load" step, e.g. a sort of URL/file cache that caches the downloaded tiles. The other cache layer that I want to introduce, is caching the tessellation for a downloaded tile. This will have a huge impact on reparsing speed because this is where we spend 80-90% of our time on. |
I'm not sure we're talking about the same thing. I'm talking about consulting whatever disk-based caching we do have and drawing those to screen as parent/child tiles even if those zooms haven't been visited in the current session. |
Closed
Closed
kkaefer
changed the title
consider cached status
Load other cached tiles until actual tiles are available
Aug 27, 2014
30 tasks
jfirebaugh
changed the title
Load other cached tiles until actual tiles are available
Overzoom cached/offline tiles
Apr 1, 2016
This was referenced May 9, 2016
This was referenced May 25, 2016
Implemented in #5143. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Something that would boost perceived performance, at least on raster, is to consider a
TileData::state::cached
somewhere betweeninvalid
andloaded
. It's odd because it's logic branching, not serial, but with this we could consider loading and parsing/decoding for use in child/parent tile scenarios.To put it another way, this wouldn't require the user to have ever zoomed to a parent or child tile zoom level in the current run of the app in order to make use of those tiles for drawing. If I launch the app at
z8
but have one or morez7
tiles cached, they could get drawn until I get all thez8
tiles I need for optimum resolution.There's a tradeoff between spending time pulling these from cache vs. spending resources in getting the
z8
tiles, but it might be worthwhile.The text was updated successfully, but these errors were encountered: