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.
Faster Response Times
Reduced Server Load
Improved Availability
Better Performance
Reduced Network Latency
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.
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.
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.
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.
Improves performance, as accessing data from memory is much faster than accessing it from a database or other external source.
Memory caching is one of the Server Caching techniques.
Allows an application to store frequently accessed data in memory.