Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

```