Skip to content

Commit b1deb3b

Browse files
authored
Update CacheLevels.md for clarity and consistency
Clarified terminology from '1st level' to 'L1' and adjusted phrasing for better readability.
1 parent 0a14e0b commit b1deb3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/CacheLevels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| -------- |
1111
| To ease cold starts and/or help with horizontal scalability (multiple nodes with their own local memory cache) it's possible to setup a 2nd level, known as L2. At setup time, simply pass any implementation of `IDistributedCache` and a serializer: the existing code does not need to change, it all just works. |
1212

13-
When our apps restarts and we are using only the 1st level (memory), the cache will need to be repopulated from scratch since the cached values are stored only in the memory space of the apps themselves.
13+
When our apps restarts and we are using only the L1, the 1st level (memory), the cache will need to be repopulated from scratch since the cached values are stored only in the memory space of the apps themselves.
1414

1515
This problem is known as **cold start** and it can generate a lot of requests to our database.
1616

@@ -37,7 +37,7 @@ Luckily, FusionCache can help us.
3737

3838
## 🔀 Second Level
3939

40-
FusionCache allows us to have 2 caching levels, transparently handled by FusionCache for us:
40+
FusionCache allows us to have 2 caching levels, transparently handled by for us:
4141

4242
- **1️⃣ L1 (memory)**: it's a memory cache and is used to have a very fast access to data in memory, with high data locality. You can give FusionCache any implementation of `IMemoryCache` or let FusionCache create one for you
4343
- **2️⃣ L2 (distributed)**: is an *optional* distributed cache and it serves the purpose of **easing a cold start** or **sharing data with other nodes**

0 commit comments

Comments
 (0)