Amazon Cloud drive - Why is End Point should be cached three to five day?
To make our application strong we would like to have more information about caching from three to five day EndPoint. What happen after these three to five days with the metadataUrl and contentUrl, do they expire? If yes, why are they expiring randomly between three to five day? Because it is really vague, my first idea is to go get the links everytime. I understand why amazon don't wan't us to go get these link everytime, it make unnecessary request. If we could have something more precise it would definitely help us doing the best code for us and Amazon. Thank you.
If you look at the two urls you receive, you'll note that they contain region information. (e.g. content-na.drive.amazonaws.... or cdws.us-east-1.amazonaws...) Basically, a user's data location could change and those endpoints will reflect their new location if it does. If I were to guess, part of why there are region specific endpoints is for performance. I would guess that old urls still work, but will be slower as requests are redirected/proxied to the correct region.