https://github.com/trailbehind/tilelive-expire-fastly
Tilelive module for expiring tiles from fastly cdn when a tile is updated
https://github.com/trailbehind/tilelive-expire-fastly
Last synced: about 1 month ago
JSON representation
Tilelive module for expiring tiles from fastly cdn when a tile is updated
- Host: GitHub
- URL: https://github.com/trailbehind/tilelive-expire-fastly
- Owner: trailbehind
- License: mit
- Created: 2016-07-07T18:14:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-15T15:21:10.000Z (almost 10 years ago)
- Last Synced: 2025-10-27T03:49:22.816Z (9 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 :
```json
{
"topo": {
"source": "tmstyle:///path/to/folder.tm2",
"destination": "expire://path/to/file.json"
}
}
```
where file.json looks like :
```json
{
"source": "s3simple:///path/to/s3",
"fastlyApiKey": "xxx",
"host": "https://api.fastly.com/",
"surrogateKeyTemplate": "z{{zoom}}/x{{x}}/y{{y}}"
}
```