0

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....

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Nov 6 at 18:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.