Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

TaskCache

See my blog post for full explanation.

TaskCache is a C# .NET custom cache implementation targeted for use cases, where long lasting Task-operations need to be cached.

The implementation uses MemoryCache and persists Lazy<Task<T>> objects in it.

The implementation ensures that

  • No parallel or unnecessary operations to get a value will be started.
  • Failed Tasks are not cached. (No negative caching.)
  • Cache users can't get invalidated results from the cache, even if the value is invalidated during an await.

About

C# .NET cache class for caching Task-objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages