Caching

Last updated

What is Caching?

Caching is the process of storing frequently accessed data in a temporary storage location, called a cache, in order to quickly retrieve it without the need to query the original data source. This can improve the performance of an application by reducing the number of times a data source must be accessed.

There are several caching strategies:

  • Refresh Ahead
  • Write-Behind
  • Write-through
  • Cache Aside

Also, you can have the cache in several places, examples include:

  • Client Caching
  • CDN Caching
  • Web Server Caching
  • Database Caching
  • Application Caching

Free resources to learn Caching

Caching: common questions

Can I learn Caching in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Caching in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Caching tutorial for beginners?

It is lesson 39 of 147 in the free System Design roadmap, in stage 13, Caching. If you are new to System Design, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me