Cache , is used is “cash” (not the “catch” or “cashay”), the store pronounce all recently used information allowing them to easily and quickly access the right post.

Many types of caching are used in computers so that they can run very efficiently, while it can also increase its performance.

Common types of caches are covered by browser cache, disk cache, memory cache, and processor cache.

1. Browser Cache

Most web browsers cache webpage data by default.

For example, when you visit a single webpage, then the browser caches HTML, images, and any CSS or JavaScript files that are referenced through the page.

When you browse from other pages in the site that you use in the same images, CSS, or JavaScript , then your browser does not have to re-download those files again. Rather the browser simply loads them with cache, which is stored in your local hard drive .

2. Memory Cache

When an application is running, it caches some data in system memory, or RAM .

For example, if you are working on a video project, then the video editor loads some specific video clips and audio tracks from hard drive into RAM .

Since RAM can be accessed very quickly if we compare it to a hard drive, this will reduce the lag when it comes to importing and editing files.

3. Disk Cache

Most HDDs and SSDs have a small amount of RAM that serves according to a disk cache. A typical 1 terabyte hard drive has 32 megabytes cache whereas a 2 TB hard drive has around 64 MB cache.

These small amounts of RAM can make a big difference in drive performance.

For example, when you open a folder containing many files, the references of these files are automatically saved in the disk cache . Which means that the next time you open Folder, then the list of files is loaded automatically, not immediately.

4. Processor Cache

Processor caches are very small compared to disk caches. This is because a processor cache contains tiny blocks of data, such as frequently used instructions, which can be accessed immediately by the CPU .

Modern processors have an L1 cache which is located directly next to the processor and an L2 cache which is a short distance away.

This L1 cache is the smallest (around 64 KB ), while the size of L2 cache is about 2 MB. Some high-end processors also have an L3 cache, which is larger than the L2 cache.

When a processor accesses data from a higher level caches, then it has to move the data from the higer level to the lower level cache so that it can be accessed faster next time.

Most of the caching is done in the background itself, so you do not know whether it is happening or not. At the same time, only one of these is a cache that you can control which is browser cache .

If you want, you can open your browser preferences to see its cache settings and you can alter its browser cache size or you can also open the cache when needed.

<< Back to Wiki Index