Stop Reentrancy on MemoryCache Calls

后端 未结 3 650
故里飘歌
故里飘歌 2021-01-18 14:07

The app needs to load data and cache it for a period of time. I would expect that if multiple parts of the app want to access the same cache key at the same time, the cache

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 14:27

    There are different solutions available, the most famous of which is probably LazyCache: it's a great library.

    Another one that you may find useful is FusionCache ⚡

提交回复
热议问题