-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Thank you for share, I have a question with the CacheResource Filter
You created a class variable _cacheKey and then registered the class as singleton, could the value been overwritten if 2 or more calls are at the same time? Because singleton shared the same instance object for all the calls.
Activity
geeksarray commentedon May 25, 2021
The cache should contain the most recent values. Otherwise, cache values will not be valid at the time of actual data processing. If you need multiple copies of caching depending on some other object you can create different cache entries.