Closed theperiscope closed 5 years ago
Hi @internal-override, what do you mean with "skips storing the value in MemoryCache"?
In case you use the Add
method with 2 layers, the item would be added only to redis first. Maybe that's what you saw?
Hi @MichaCo,
what do you mean with "skips storing the value in MemoryCache"?
With the same configuration other (reference type) items got inserted into both the MemoryCache and redis
In case you use the
Add
method with 2 layers, the item would be added only to redis first. Maybe that's what you saw?
I am using Put
method, I'll try to upload sample code later today to help demonstrate the issue.
Unable to reproduce issue this morning, closing for now due to inconsistency.
During a cache contents review, I found out that
ICacheManager<int>
manager skips storing the value in MemoryCache using the configuration below. Switching to a class with single int field resolved issue, and the value was stored in both MemoryCache and Redis as expected.