VahidN / EFSecondLevelCache.Core

Entity Framework Core Second Level Caching Library
Apache License 2.0
326 stars 51 forks source link

Announcing a better Second Level Caching Library! #67

Open VahidN opened 4 years ago

VahidN commented 4 years ago

EF Core 3x introduces the interceptors concept. By using them we can watch for the specific queries which are tagged as Cachable (using the standard TagWith method) and then cache their results. This method is a lot faster, doesn't use any Reflection and just uses the standard and public API of EF core and doesn't change the current expression tree. Also it doesn't need any settings for the cache invalidation. Cache invalidation will be performed during the CRUD operations automatically.

You can find this new library here: https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor