HYLODE / HyUi

HYLODE User Interface Repository
http://hylode.org/
Apache License 2.0
3 stars 2 forks source link

Steve/enhance 209 exploit cache #215

Closed docsteveharris closed 1 year ago

docsteveharris commented 1 year ago

Aims for this pull request are

  1. put in place the cache for a reasonable first selection of endpoints
  2. think through a refresh policy for these endpoints

2 (above) needs to balance (presumably) too much burden on the databases versus the initial experience when the app loads. @harryjmoss : is it the case that on first load if the cache is older than the max-age parameter it will force a fresh call? If so then I assume the refresh has to be less than max-age on first load? Or we need some approach to the interface such that it starts loading whilst the user is looking elsewhere?

docsteveharris commented 1 year ago

ready for review: should close #209

docsteveharris commented 1 year ago

should also close #98