Modern computers have both L1 and L2 caches. It turns out that caching is an important computer science concept that appears on every computer in a variety of forms. There are memory caches, hardware and software disk caches, page caches, etc.
Virtual memory is even a form of caching.
A Simple Example Caching is a technology based on the memory subsystem of your computer. The main purpose of a cache is to accelerate your computer while keeping the price of the computer low. Caching allows you to do your computer tasks more rapidly. To understand the basic idea behind a cache system, let's start with a super-simple example that uses a librarian to demonstrate caching concepts. Let's imagine a librarian behind his desk.