developmentseed / tipg

Simple and Fast Geospatial OGC Features and Tiles API for PostGIS.
https://developmentseed.org/tipg/
MIT License
153 stars 23 forks source link

Add TTL for refreshing catalog #66

Closed bitner closed 1 year ago

bitner commented 1 year ago

Start of work to add a TTL setting to force refetching the catalog for each collection when the entry for that collection is older than the TTL. When starting up, it always grabs all collections. When hitting the /collections endpoint, it will check each collection and only fetch ones older than the TTL. When hitting any /collections/{collection}/... endpoint, it will check that collection and only request that collection if older than the TTL.

TODO:

bitner commented 1 year ago

Closing in favor of #68