tilegroxy Docs
Only used by the memory cache.
This is not recommended for production use. The same caveats as the memory cache apply.

Example

  • YAML

  • JSON

datastores:
  - name: memory
    id: tiles
    maxsize: 1000
    ttl: 1000
{
  "datastores": [
    {
      "name": "memory",
      "id": "tiles",
      "maxsize": 1000,
      "ttl": 1000
    }
  ]
}

Configuration

Configuration options
Parameter Description Type Required Default

ID

The unique identifier of the datastore used to reference this datastore elsewhere in configuration

string

Yes

None

MaxSize

Maximum number of tiles to hold. Must be at least 10. Setting this too high can cause out-of-memory panics. This is not a guaranteed setting, which entry is evicted when exceeding this size is an implementation detail and the size can temporarily grow somewhat larger.

uint16

No

100

TTL

Maximum time to live for entries in seconds

uint32

No

3600