koopjs / koop-output-vector-tiles

Apache License 2.0
16 stars 9 forks source link

Caching options #13

Closed dhollema closed 4 years ago

dhollema commented 4 years ago

I see vector tiles output uses an in-memory cache.

rgwozdz commented 4 years ago

Yes, the in-memory cache is just the default cache plugin. The other option that is currently maintained and up to date is the Redis cache plugin.

dhollema commented 4 years ago

So I understand, the Redis cache plugin can serve as a substitute to the tile-sets-cache?

rgwozdz commented 4 years ago

Sorry, I misread/misunderstood your question; the tile-sets-cache is not the same as the cache-plugin. The cache-plugin just caches provider data. For caching tiles, there is currently no other option.

You could use NGINX to cache tiles for a certain period of time; this is pretty common for OSM servers.

dhollema commented 4 years ago

Makes sense, thank you.