MEMORY  Caching  in  .NET Core  Step by Step

What is caching?

Black Section Separator

Caching is a technique to store frequently accessed data in a temporary location. This helps to quickly retrieve the data without having to go back to the original data source.

Advantages of Caching

Black Section Separator
Circled Dot

Faster Response Times

Circled Dot

Reduced Server Load

Circled Dot
Circled Dot
Circled Dot

Improved Availability

Better Performance

Reduced Network Latency

Black Section Separator

Client side caching

1

Caching happens on the client’s browser. When a client requests a web page, their browser will store a copy of the page and its associated resources (such as images and scripts) in its cache.

Types of Caching

Black Section Separator

Server-side caching

2

Caching happens on the server. When a server receives a request for a web page, the server will send the cached version if available to the client instead of generating the page dynamically again.

Types of Caching

Black Section Separator

Reverse proxy caching

3

Caching happens on a reverse proxy server, which sits between the client and the web server. The reverse proxy server can cache the responses from the web server and return a cached response to the client if available.

Types of Caching

Black Section Separator

CDN Caching

4

A CDN (content delivery network) is a system of distributed servers that can cache and deliver content to clients based on their geographic location. CDN caching can help to reduce the load on web servers by storing and delivering content closer to the client.

Types of Caching

Black Section Separator

What is Memory Caching?

Improves performance, as accessing data from memory is much faster than accessing it from a database or other external source.

Circled Dot

Memory caching is one of the Server Caching techniques. 

Circled Dot

Allows an application to store frequently accessed data in memory.

Circled Dot

Read the  full article  Here