tilelive-expire-fastly

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i tilelive-expire-fastly

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • alex-outdoor
  • jessecrocker