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 |
String |
No |
127.0.0.1 |
port |
The port of the memcache server. A convenience equivalent to supplying |
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 |
Array of |
No |
host and port |
Example:
cache:
name: memcache
host: 127.0.0.1
port: 11211