mojodna / tessera

A tilelive-based tile server.
BSD 2-Clause "Simplified" License
324 stars 80 forks source link

Is it possible to clear cache without restarting? #78

Open olehz opened 6 years ago

olehz commented 6 years ago

Is it possible to clear cache without restarting? I have data that updated frequently (every hour or every five minutes). It would be nice to be able to adjust TTL for each individual layer (for instance in config):

"source": "tmsource:///bla-bla", "ttl":30, "headers": { "Cache-Control": "public,max-age=30" }