While implementing a solution for #5 and #8 which both depend on discover of the API endpoints and thus a performance hit on calling the API endpoints unnecessarily, I implement a memoized property for the API endpoint discovery.
This lead me to think if this would be helpful in REST client being able to cache information. To implement this truthfully we would have to:
Check if the command centre is able to provide information i.e Etag or the likes to denote if the cache is stable
Outline an appropriate caching technique either in memory or writing to disk (the later can be more complicated than we need to)
See also hisel built on top of
httpx
for caching responses. This might be more apt? https://github.com/karpetrosyan/hishelWhile implementing a solution for #5 and #8 which both depend on discover of the API endpoints and thus a performance hit on calling the API endpoints unnecessarily, I implement a memoized property for the API endpoint discovery.
This lead me to think if this would be helpful in REST client being able to cache information. To implement this truthfully we would have to: