Closed gdm85 closed 2 years ago
I have some suggestions about caching: (The complexity of caching is also the reason why I haven't implement cache)
scope
field in the response should be used as a part of the cache key. This is to help deliver location-relevant results.mask
field in the request can be used as the key to mark an in-flight or failed request.
This is the caching feature that I developed some time and have been using for a while now; it has to be considered experimental.
Please review the code looking for bugs/wrong assumptions or something to improve.