PostSharp
[Caching]
Cache your methods with just a simple custom attribute.
- Enhance application performance without the need for repetitive code.
- Minimize cache key generation errors.
- Supports C# MemoryCache, Redis Cache, Pub/Sub, and more.
- Customizable. Incorporate your own cache storage.
![caching](/images/products/caching.png?etag=7a06c4725998cf03e92a9cb61755ef32)
Trusted by development teams worldwide in all industries.
Declarative Caching and Invalidation
![declarative-caching](/images/declarative-caching.png?etag=dfe38b85d7ba1aa6edab3e273bbcf43c)
-
Integrate caching into a method using a straightforward custom attribute.
-
The cache key is automatically generated based on the method name and parameter values.
-
Invalidate the cached method with a custom attribute and automatic, build-time parameter matching.
-
Fully customizable.
Object-Oriented Invalidation
![caching-invalidation](/images/caching-invalidation.png?etag=b3fabbf9f385259d20bba3f647bc2110)
- Enhance the separation of concerns between readers and updaters.
- Dependencies of called methods are automatically added to the caller context.
![mvvm](/images/products-clean/caching.png?etag=7a5463683b762da07c80a2f0815f27ae)