79827386

Date: 2025-11-22 15:13:56
Score: 1.5
Natty:
Report link
  1. _cache.Remove(cacheKeyForDeviceStatus);
    
    

    IMemoryCache is not like cookies so we can just remove the cache because cache saved in server side not client side
    after deleting cache if the was no cache the func will hit the db

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Braa gamer