Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Overzoom cached/offline tiles #123

Closed

Description

@incanus

Something that would boost perceived performance, at least on raster, is to consider a TileData::state::cached somewhere between invalid and loaded. 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 more z7 tiles cached, they could get drawn until I get all the z8 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.

Activity

  1. kkaefer commented on Apr 2, 2014

    @kkaefer
    Member

    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.

  2. incanus commented on Apr 2, 2014

    @incanus
    ContributorAuthor

    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.

  3. changed the title [-]consider cached status[/-] [+]Load other cached tiles until actual tiles are available[/+] on Aug 27, 2014
  4. self-assigned this
    on Jun 30, 2015
  5. changed the title [-]Load other cached tiles until actual tiles are available[/-] [+]Overzoom cached/offline tiles[/+] on Apr 1, 2016
  6. removed their assignment
    on Apr 21, 2016
  7. jfirebaugh commented on Jun 14, 2016

    @jfirebaugh
    Contributor

    Implemented in #5143.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions