perf: cache responses
Nomon opened this issue · comments
To reduce redundant requests and processing use the nomad api client provided modifyindex mechanism.
- cache resources feasible for caching and detect changed resources using raft index.
- remove unnecessary api calls (spotted a few, like loading allocs several time)