Actions
Idea #9524
closed[SDKs] Check for discovery document changes before using a cached copy
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
06/30/2016
Due date:
Story points:
-
Description
The Ruby SDK caches discovery documents by their URL. If there's a cached copy on disk that's less than a day old, it will use it. This can frustrate administrators who make configuration changes reflected in the discovery document: it can take up to a day for those changes to propagate to all clients.
Instead of caching the discovery document for any static length of time, the Ruby SDK should send a GET request with cache headers to the API server each time, and update its cache after any change.
Actions