Caching Techniques: One should know
Behind the scenes of caching and important aspects which WOW you
Overview:
- What is Caching
- Types of Caching
- Caching Topology
What is Caching?
The cache is a smaller and faster memory that stores copies of the frequently used data. Content like HTML pages, images, files, web objects, etc is stored in the cache to improve the efficiency and overall performance of the application.
A cache is typically stored in memory or on a disk. A memory cache is normally faster to read from than a disk cache. But, does not survive system restarts.
Why Caching?
Caches are widely used in most of the high volume applications to:
- Reduce Latency
- Increase Capacity
- Improve App Availability
There are four major caching types used in web development. We will learn about each of these caches in the next set of cards.
- Web Caching (Browser/Proxy/Gateway)