Skip to content

Caching and cache invalidation of MediatR Requests via Pipeline Behaviors

License

Notifications You must be signed in to change notification settings

Imprise/Imprise.MediatR.Extensions.Caching

Repository files navigation

MediatR Caching and Cache Invalidation Behaviors

Adds per-request caching and optional invalidation using MediatR pipeline behaviors.

See Getting Started for more information.

About

This library came out of the need to incorporate caching into a project that used MediatR fairly extensively including validation, authorisation and logging through its inbuilt Pipeline bevhaiors and caching seemed like a logical choice to include in the pipeline as another cross-cutting concern. As with MediatR overall, the final solution is elegant and almost effortless to include into an existing project and also includes an extremely powerful cache invalidation pipeline behavior to invalidate cached requests based on any other requests being sent.

Primary Authors and Contributors

Daniel Lewis (@djjlewis)

About

Caching and cache invalidation of MediatR Requests via Pipeline Behaviors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages