You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add local memory cache to Redis implementation to reduce roundtrips (#1214)
* Add local memory cache to Redis implementation to reduce roundtrips
* It seems better to keep GxRedis.cs unified for both .NET Framework and .NET Core.
* Applied Fazzato’s review suggestions
* Fix build error.
* Read ENABLE_MEMORY_CACHE from provider settings and apply it only in the default constructor used by CacheAPI.
* Refactor local cache settings in Redis implementation to support configurable maximum TTL and adjust local cache factor to 20%.
---------
Co-authored-by: claudiamurialdo <c.murialdo@globant.com>
(cherry picked from commit 6126f20)
# Conflicts:
# dotnet/src/dotnetframework/Providers/Cache/GxRedis/GxRedis.cs
0 commit comments