Allow a different cache-control max-age for layergroup responses

This commit is contained in:
Raul Ochoa
2014-10-24 16:05:41 +02:00
parent ff4ec19fff
commit c88330f5f2
7 changed files with 55 additions and 5 deletions
+2 -1
View File
@@ -143,7 +143,8 @@ var config = {
host: 'localhost',
port: 6082,
secret: 'xxx',
ttl: 86400
ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
}
// If useProfiler is true every response will be served with an
// X-Tiler-Profile header containing elapsed timing for various