GIScience / ohsome-now-stats-service

This is the REST service for the ohsomeNow stats.
https://stats.now.ohsome.org/api/
GNU Affero General Public License v3.0
4 stars 1 forks source link

Evaluate caching certain requests #53

Closed mmerdes closed 5 months ago

mmerdes commented 5 months ago

For data which changes relatively slowly it might be beneficial in terms of performance to introduce a cache. The time-to-live (TTL) for the cache should be configured to a suitable value, probably in the range of minutes.

It is important not to cache requests for leaderboard-type applications in order to avoid unnecessary delays for more mapathon-like use cases.

Decisions: