Hey i was building a DeviceService to know Connected Devices to an account after i builded every thing now i got issue with revoking device
Main Confusion :
that i decided to use IMemoryCache to reduce hitting the DB, and I set a valid status Cache for two minutes. Therefore, when revoking connected device, it is kicked after the first request after two minutes. i know that it reducing the db hitting but it gives the device that should be revoked 2 min to use the acc what the right way to handle that? my way is right? i'm confused if its a good handling or not....