Merge pull request #293 from CartoDB/named-static-maps

Named static maps
This commit is contained in:
Raul Ochoa
2015-04-29 12:48:02 +02:00
30 changed files with 1288 additions and 354 deletions
@@ -181,6 +181,15 @@ var config = {
ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
}
// this [OPTIONAL] configuration enables invalidating by surrogate key in fastly
,fastly: {
// whether the invalidation is enabled or not
enabled: false,
// the fastly api key
apiKey: 'wadus_api_key',
// the service that will get surrogate key invalidation
serviceId: 'wadus_service_id'
}
// If useProfiler is true every response will be served with an
// X-Tiler-Profile header containing elapsed timing for various
// steps taken for producing the response.