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
Copy file name to clipboardExpand all lines: LazyCacheHelpers/LazyCacheHelpers.csproj
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,16 @@
11
11
<Description>Library for leveraging the power of the Lazy class to enable high performance caching at all layers of an application. It provides support for both Sync and Async Lazy caching operations in an extremely lightweight and simple footprint -- with passive cache coding style using Lambdas to maximize server utilization and performance with a blocking, or self-populating, cache implementation!</Description>
- v1.3.1 Added support for inheriting from the new ILazySelfExpiringCacheResult<TValue>, with protected property setters, as well as small param naming improvements.
14
+
- Add support to specify custom key comparer (e.g. StringComparer.OrdinalIgnoreCase) in LazyStaticInMemoryCache.
15
+
16
+
Prior Release Notes:
17
+
- Added support for inheriting from the new ILazySelfExpiringCacheResult<TValue>, with protected property setters, as well as small param naming improvements.
15
18
- Add support for Self Expiring cache results that return the CachePolicy/Cache TTL/etc. along with the Cache Result; ideal when the cache TTL is not
16
19
known ahead of time in use cases such as external API results that also return a lifespan for the data such as Auth API Tokens, etc.
17
20
- This should not be a breaking change as this support was now added via net new interfaces ILazyCacheHandlerSelfExpiring and ILazySelfExpiringCacheResult.
18
21
- Added support to now easily inject/bootstrap the DefaultLazyCache static implementation with your own ILazyCacheRepository, eliminating the need to have your own
19
22
Static implementaiton if you don't want to duplicate it; though encapsulating in your own static facade is usually a good idea.
20
23
- Implemented IDisposable support for existing LazyCacheHandler and LazyCacheRepositories to support better cleanup of resources
21
-
22
-
Prior Release Notes:
23
24
- Add support for Clearing the Lazy Static In-memory Cache (wrapper for Lazy caching pattern for sync or async results based on the underlying ConcurrentDictionary<Lazy<T>>).
24
25
- Add support for Clearing the Cache and for getting the Cache Count; implemented for DefaultLazyCache as well as the Static In-memory caches.
25
26
- Restored LazyCacheConfig class capabilities for reading values dynamically from Configuration.
@@ -30,7 +31,7 @@
30
31
- Now fully supported as a .Net Standard 2.0 library (sans Configuration reader helpers) whereby you can specify the timespan directly for Cache Policy initialization.
/// Initialize a new Synchronous value factory for lazy loading a value from an expensive Async process, and execute the value factory at most one time (ever, across any/all threads).
32
45
/// This provides a robust blocking cache mechanism backed by the Lazy<> class for high performance lazy loading of data that rarely ever changes.
33
46
/// The resulting value will be immediately returned as fast as possible, and if another thread already initialized it and is working on it then you will benefit from the work
0 commit comments