All You Have To Know About Caching Types, Strategies and Popular Tools

Ali Zeynalli
4 min readSep 29, 2024
Photo by Viktor Jakovlev on Unsplash

In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere.

In other words, it is a a technique to store the frequently used data in tempoprary storage to reduce the workload of the data source. This simple technique can be a powerful resource to optimize the overall system and save costs. The main benefits of the Caching are:

  1. reducing the latency
  2. saving unnecessary requests to the data source
  3. improving the overall performance
  4. cost saving

Caching can be implemented in different levels of the application. Depending on the use case it can be used in 5 different layers.

Different Caching Usa Cases

Client-Side Caching…

Based on the HTTP cache header, browser or client can store static data temporarily as a cache. For Example, the response to some heavy lifting GET requests can be stored in browser for further reprocessing. This…

--

--

Ali Zeynalli

IT-Architect | BMW Group | M.Sc. Technical University of Berlin