Skip to content
Aghogho Bernard edited this page May 6, 2026 · 3 revisions

CacheWeave

CacheWeave Wiki

Welcome to the CacheWeave documentation. Use the sidebar to navigate between topics.

Pages

Page Description
Getting Started Installation, registration, first cache attribute
Configuration All CacheWeaveOptions properties explained
Cache Keys How keys are assembled, versioning, context scoping
Attributes [CacheWeave] and [CacheWeaveEvict] reference
Providers All 7 backing store providers with setup samples
Serializers STJ vs Newtonsoft, custom serializer
Compression GZip compression setup and trade-offs
Stampede Protection In-process and distributed lock strategies
Conditional Caching NoCacheWhen, sliding expiry, body hashing
Eviction [CacheWeaveEvict], prefix eviction, programmatic invalidation
Programmatic API ICacheWeaveServiceGetOrSetAsync, SetAsync, InvalidateAsync
OpenTelemetry Metrics, traces, Grafana dashboard setup
Razor Pages IAsyncPageFilter usage
Minimal APIs IEndpointFilter and WithCacheWeave()
Testing How to test cached endpoints and mock providers
Advanced Recipes Tenant isolation, distributed stampede lock, custom compressor

Clone this wiki locally