API has or version number indicating whether the data has changed
I would like to know if it is possible for the API team to add a version number or hash for each of the lists (regions, sizes, images). I have commands for refreshing and updating my database from the DO API, but perhaps this could be more controlled if there is some indication that a change in the data actually occurred. Even a “seconds since epoch” time stamp would be enough to know that an update is required.
Hitting the DO API in real time when someone is selecting a region, then size, then image is really slow, and not really necessary. Hence my local caching of the data.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×