Skip to content

Commit

Permalink
352 Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryk-kontent-ai committed Mar 16, 2023
1 parent 09100b5 commit ccd17f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/retrieving-data/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ services.AddDeliveryClientCache(new DeliveryCacheOptions()
});
```
> You can optionally register [`ILoggerFactory` implementation](../configuration/dependency-injection.md). Logger will have effect only when `distributed cache` is used and [`FallbackToApi`](../../Kontent.Ai.Delivery.Caching/DistributedCacheResilientPolicy.cs) option is chosen for `DistributedCacheResilientPolicy` parameter of `DeliveryCacheOptions`. In this case information message will be logged when `distributed cache` is not available.
Read more in [Microsoft docs](https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed).

## Usage without DI
Expand Down

0 comments on commit ccd17f7

Please sign in to comment.