tilegroxy Docs
When looking up cache entries each cache is tried in order. When storing cache entries each cache is called simultaneously. This means that the fastest cache(s) should be first and slower cache(s) last. As each cache needs to be tried before tile generation starts, it is not recommended to have more than 2 or 3 caches configured.

Example

  • YAML

  • JSON

cache:
  name: multi
  tiers:
    - name: memory
      maxsize: 1000
      ttl: 1000
    - name: disk
      path: "./disk_tile_cache"
{
  "cache": {
    "name": "multi",
    "tiers": [
      {
        "name": "memory",
        "maxsize": 1000,
        "ttl": 1000
      },
      {
        "name": "disk",
        "path": "./disk_tile_cache"
      }
    ]
  }
}

Configuration

Parameter Description Type Required Default

tiers

An array of Cache configurations. Multi should not be nested inside a Multi

Cache[]

Yes

None