tilelive-expire-fastly
v2.0.0
Published
Tilelive module for expiring tiles from fastly cdn when a tile is updated
Downloads
4
Readme
tilelive-expire-fastly
Tilelive module for expiring tiles from fastly cdn when a tile is updated
Usage
config-file for tile-squirrel looks like :
{
"topo": {
"source": "tmstyle:///path/to/folder.tm2",
"destination": "expire://path/to/file.json"
}
}
where file.json looks like :
{
"source": "s3simple:///path/to/s3",
"fastlyApiKey": "xxx",
"host": "https://api.fastly.com/",
"surrogateKeyTemplate": "z{{zoom}}/x{{x}}/y{{y}}"
}