{
"listen": {
"http": {
"enabled": true,
"address": "0.0.0.0",
"port": 17001
},
"https": {
"enabled": true,
"address": "0.0.0.0",
"port": 17002,
"spdy": true
}
},
"backends": {
"test": {
"address": "127.0.0.1",
"port": 80
}
},
"http": {
"client": {
"followRedirects": true,
"connectionTimeout": 3000,
"requestTimeout": 20000,
"idleTimeout": 10000,
"userAgent": "JackCache 0.0.1"
}
},
"caches": {
"default": {
"eternal": false,
"tomeToIdle": 3600,
"timeToLive": 1800,
"maxSize": "300M",
"evictionPolicy": "LRU",
"disk": {
"persistent": true,
"spoolBufferSize": "30M",
"expiryThreadIntervalSeconds": 60,
"maxBytes": "3024M",
"maxEntries": 10240
}
},
"cache1": {
"maxSize": "100M",
"name": "cache1",
"path": "/tmp/cache1"
},
"errors": {
"tti": 600,
"ttl": 1200,
"maxSize": "100M"
}
}
}