Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 days 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-15T15:21:10.000Z (about 8 years ago)
- Last Synced: 2024-10-12T21:06:01.965Z (about 1 month ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 2
- Watchers: 4
- 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}}"
}```