Skip to content

Commit 7db6835

Browse files
authored
corrected markdown ordered listing (#35914)
1 parent 8be7cee commit 7db6835

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

aspnetcore/performance/caching/distributed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ When cached data is distributed, the data:
2727
* Survives server restarts and app deployments.
2828
* Doesn't use local memory.
2929

30-
Distributed cache configuration is implementation specific. This article describes how to configure SQL Server and Redis distributed caches. Third party implementations are also available, such as [NCache](http://www.alachisoft.com/ncache/aspnet-core-idistributedcache-ncache.html) ([NCache on GitHub](https://github.com/Alachisoft/NCache)), Cosmos DB, and Postgres. Regardless of which implementation is selected, the app interacts with the cache using the <xref:Microsoft.Extensions.Caching.Distributed.IDistributedCache> interface.
30+
Distributed cache configuration is implementation specific. This article describes how to configure SQL Server, Redis, or Postgres distributed caches. Third party implementations are also available, such as [NCache](http://www.alachisoft.com/ncache/aspnet-core-idistributedcache-ncache.html) ([NCache on GitHub](https://github.com/Alachisoft/NCache)), Cosmos DB, and Postgres. Regardless of which implementation is selected, the app interacts with the cache using the <xref:Microsoft.Extensions.Caching.Distributed.IDistributedCache> interface.
3131

3232
[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/performance/caching/distributed/samples/) ([how to download](xref:index#how-to-download-a-sample))
3333

@@ -166,7 +166,7 @@ builder.Services.AddDistributedPostgresCache(options => {
166166
var app = builder.Build();
167167
```
168168

169-
3. Use the Cache
169+
2. Use the Cache
170170

171171
```csharp
172172
public class MyService {

aspnetcore/performance/caching/distributed/includes/distributed5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ builder.Services.AddDistributedPostgresCache(options => {
145145
var app = builder.Build();
146146
```
147147

148-
3. Use the Cache
148+
2. Use the Cache
149149

150150
```csharp
151151
public class MyService {

aspnetcore/performance/caching/distributed/includes/distributed6-7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ builder.Services.AddDistributedPostgresCache(options => {
148148
var app = builder.Build();
149149
```
150150

151-
3. Use the Cache
151+
2. Use the Cache
152152

153153
```csharp
154154
public class MyService {

aspnetcore/performance/caching/hybrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ For more information, see the [HybridCache serialization sample app](https://git
190190

191191
## Cache storage
192192

193-
By default `HybridCache` uses <xref:System.Runtime.Caching.MemoryCache> for its primary cache storage. Cache entries are stored in-process, so each server has a separate cache that is lost whenever the server process is restarted. For secondary out-of-process storage, such as Redis or SQL Server, `HybridCache` uses [the configured `IDistributedCache` implementation](xref:performance/caching/distributed), if any. But even without an `IDistributedCache`implementation, the `HybridCache` service still provides in-process caching and [stampede protection](https://en.wikipedia.org/wiki/Cache_stampede).
193+
By default `HybridCache` uses <xref:System.Runtime.Caching.MemoryCache> for its primary cache storage. Cache entries are stored in-process, so each server has a separate cache that is lost whenever the server process is restarted. For secondary out-of-process storage, such as Redis, SQL Server, or Postgres, `HybridCache` uses [the configured `IDistributedCache` implementation](xref:performance/caching/distributed), if any. But even without an `IDistributedCache`implementation, the `HybridCache` service still provides in-process caching and [stampede protection](https://en.wikipedia.org/wiki/Cache_stampede).
194194

195195
> [!NOTE]
196196
> When invalidating cache entries by key or by tags, they're invalidated in the current server and in the secondary out-of-process storage. However, the in-memory cache in other servers isn't affected.

0 commit comments

Comments
 (0)