Memcache

Cache tiles using memcache.

Name should be "memcache"

Configuration options:

Parameter Description Type Required Default

host

The host of the memcache server. A convenience equivalent to supplying servers with a single entry. Do not supply both this and servers

String

No

127.0.0.1

port

The port of the memcache server. A convenience equivalent to supplying servers with a single entry. Do not supply both this and servers

int

No

6379

keyprefix

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

string

No

None

ttl

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

uint32

No

1 day

servers

The list of servers to connect to supplied as an array of objects, each with a host and key parameter. This should only have a single entry when operating in standalone mode. If this is unspecified it uses the standalone host and port parameters as a default, therefore this shouldn’t be specified at the same time as those

Array of host and port

No

host and port

Example:

cache:
  name: memcache
  host: 127.0.0.1
  port: 11211