tilegroxy Docs

Example

  • YAML

  • JSON

datastores:
  - name: memcached
    id: memcached-0
    host: 127.0.0.1
    port: 11211

cache:
  name: memcached
  datastore: memcached-0
{
  "datastores": [
    {
      "name": "memcached",
      "id": "memcached-0",
      "host": "127.0.0.1",
      "port": 11211
    }
  ],
  "cache": {
    "name": "memcached",
    "datastore": "memcached-0"
  }
}

Configuration

Parameter Description Type Required Default

keyprefix

A prefix to use for keys stored in cache. Helps avoid collisions when multiple applications use the same memcached

string

No

None

ttl

How long cache entries should persist for in seconds. Cannot be disabled.

uint32

No

1 day

datastore

The ID of a memcached datastore to use.

string

Yes

None