What is cache and why is it used? This is a very common interview question.
💡 Cache is a temporary storage that keeps frequently used data in memory (RAM) so it can be accessed quickly.
👉 Example:
When you open an app or website again, it loads faster because some data is already stored in cache.
🔑 Key Points:
Cache is faster than database (RAM vs Disk)
It stores frequently accessed data
It is temporary and limited in size
💡 Interview Tip:
Cache improves performance but is not used for permanent storage.
Download
0 formats
No download links available.
Cache Explained for Interviews | Why Cache is Faster than Database? | NatokHD