2.0.0 • Published 8 years ago

tilelive-expire-fastly v2.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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}}"
}