Cache is usefull to save data and storing it for later use. Cache is a smaller and faster memory which stores copies of the frequently used data which is later use as a input for other thing. Here we stroe object like HTML pages, images, files, web objects, etc are stored in cache to improve the efficiency and overall performance of the application. A cache is typically stored in memory or on disk. A memory cache is normally faster to read from than a disk cache. But, does not survive system restarts.
Below are the reason why we use cache
(1)Reduce Latency
(2)Increase Capacity
(3)Improve App Availability | |