GetAsync caches its value for 10 seconds – if you call GetAsync again on the same key within those 10 seconds, it instantly returns the last value it got (even if the key has been updated externally since then) and doesn’t use a request. Caching requests is usually a good idea, but sometimes we need to bust the cache to get the actual value. Currently that’s not possible with GetAsync – the only way to do it is with UpdateAsync. Note the limitation chart below:
UpdateAsync uses up requests for the Sets request type. I’m not a fan of having to use my Sets requests in place of Gets to get the most recent value of my key. That effectively halves the amount of requests I have to work with if I’m needing to get the uncached, true value of specific keys often. It’d be great if there was a second, optional boolean parameter of GetAsync which allowed us to bust the cache.