tilegroxy docs
When looking up cache entries, a hit in an early child precludes checking later caches. This means that the fastest cache(s) should be first and slower cache(s) last. But we don’t recommend having more than a few caches configured since cache misses loop through all children.

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

Configuration options
Parameter Description Type Required Default

tiers

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

Cache[]

Yes

None