Browser caches and Internet caches store copies of Web pages retrieved by the user for some period of time in order to speed up retrieval the next time the same page is requested (see Web cache and browser cache). See also router cache.
Following are descriptions of the traditional memory and disk caches that are common in all computers.
Memory Caches
A memory cache, or "CPU cache," is a memory bank that bridges main memory and the CPU. It is faster than main memory and allows instructions to be executed and data to be read and written at higher speed. Instructions and data are transferred from main memory to the cache in fixed blocks, known as cache "lines," using some kind of look-ahead algorithm. See cache line.
Temporal and Spatial (Time and Space)
Caches take advantage of "temporal locality," which means the same data item is often reused many times. They also benefit from "spatial locality," wherein the next instruction to be executed or the next data item to be processed is likely to be the next in line. The more often the same data item is processed or the more sequential the instructions or data, the greater the chance for a "cache hit." If the next item is not in the cache, a "cache miss" occurs, and the CPU has to go to main memory to retrieve it.
Level 1 and Level 2
A level 1 (L1) cache is a memory bank built into the CPU chip. A level 2 cache (L2) is a secondary staging area that feeds the L1 cache. Increasing the size of the L2 cache may speed up some applications but have no effect on others. L2 may be built into the CPU chip, reside on a separate chip in a multichip package module (see MCP) or be a separate bank of chips on the motherboard. Caches are typically static RAM (SRAM), while main memory is generally some variety of dynamic RAM (DRAM). See SRAM and DRAM.
L1 and L2 Caches
The whole idea is to keep staging more instructions and data in a high-speed memory closer to the CPU.
Disk Caches
A disk cache is a section of main memory or memory on the disk controller board that bridges the disk and the CPU. When the disk is read, a larger block of data is copied into the cache than is immediately required. If subsequent reads find the data already stored in the cache, there is no need to retrieve it from the disk, which is slower to access.
If the cache is used for writing, data are queued up at high speed and then written to disk during idle machine cycles by the caching program. If the cache is built into the hardware, the disk controller figures out when to do it. See cache coherency, write back cache, write through cache, pipeline burst cache, lookaside cache, inline cache, backside cache and NV cache.
Disk Cache
Disk caches are usually just a part of main memory made up of common dynamic RAM (DRAM) chips, whereas memory caches (CPU caches) use higher-speed static RAM (SRAM) chips.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- MacBook Air gets Penryn and MBP17 gets minor bump
- Although they didn't get fancy glass trackpads or unibody aluminum frames (like Apple's other new notebooks) the MacBook Air and MacBook Pro 17-inch received minor speed-bumps when Apple announced its new MacBooks yesterday. The MacBook Air went from: ...
- Blog posts 2008-10-15
- Apple vs. Dell: Battle of the 13-inch notebooks
- Since my last comparison, Apple and Dell have both come out with even smaller notebook computers to tempt you away from your old fashioned desk-bound workstation. How do they stack up? Today I look at the low end MacBook White and Dell Inspirion 13 to find out. ...
- Blog posts 2008-10-15
- Apple gadget lust for me, but anything for Ed Tech?
- I have to get a new MacBook Pro. I need to find a way to convince my wife that one of my kids needs my MacBook and I must therefore have one of the latest MBPs introduced today. Because seriously, folks, if you haven't checked out coverage of...
- Blog posts 2008-10-14
- What OpenOffice site crash means
- What OpenOffice site crash meansSo, I should pay for free software so I don't pay Microsoft?It's not for everyone. However, the reason Microsoft has more robust features is because they spend more money on it. That money is funded by higher prices for their software. If you or your company...
- Discussion threads 2008-10-14
- Debate around 'partial disclosure' heats up
- There are many ways of telling the world about a security vulnerability. A vulnerability can be announced without telling the vendor, it can be announced after giving the vendor a period of time to fix the issue, or it may just be circulated amongst the underground without ever coming...
- Blog posts 2008-10-13
- Microsoft renames its 'D' language 'M'
- Microsoft renames its 'D' language 'M'Brilliant move ... Duh!Brilliant move! There's already a language named M, formerly known as MUMPS. The Veterans Administration (now Dept. of Veterans Affairs) wrote its DHCP Decentralized Hospital Computer Program in M and SAIC used that as the basis for the CHCS program...
- Discussion threads 2008-10-10
- Aunsoft FLV Converter (exe)
- Aunsoft FLV Converter is a powerful tool to convert FLV video to various video formats. It supports the following formats: AVI, MPEG, MOV, WMV, and MP4. You can either download your favorite FLV files to your local hard drive and import them to file list of Aunsof FLV Converter, or...
- Software downloads 2008-10-10
- Opera bitten by 'extremely severe' browser bug
- Buried in the flurry of feature-related news surrounding the release of Opera 9.6 is the fact that the update fixes an "extremely severe" vulnerability that could expose Opera users to code execution attacks. According to an Opera advisory, which is not mentioned anywhere in Opera's giddy press...
- Blog posts 2008-10-09
- New book details how to break iPhone passcodes and recover data
- O'Reilly just released a new book, iPhone Forensics, Recovering Evidence, Personal Data, and Corporate Assets (US$39.99) by Jonathan Zdziarski. Any given iPhone is likely to contain sensitive information belonging to its owner, and some types of information that may belong to others: corporate email, documents, and photos, to...
- Blog posts 2008-10-07
- 001Micron Data Wiping Software (exe)
- Hard disk files sanitation software can permanently delete temporary internet files, typed URL, history, cache, cookies, system files and internet browsing activities. External hard drives cleaner utility removes critical private records and protects you by deleting important email username and password securely. Disk cleaner tool can delete networks files auxiliary...
- Software downloads 2008-10-07
- Fans to build own radio as Slacker takes on iPod
- Is it an iPod? Is it an old-fashioned transistor radio? These are the questions the Slacker portable digital music player will have to answer when it hits U.S. stores this month. NEW YORK--Is it an iPod? Is it an old-fashioned transistor radio? These are the questions the Slacker portable...
- News items 2008-10-02
- GhostSurf Platinum (exe)
- GhostSurf Platinum makes you invisible on the Internet and ensures a secure surfing experience. GhostSurf enables even novice PC users to erase all traces of their online activity, encrypt their Internet connection and remove aggressive spyware automatically. Additional features provide a secure location to store confidential files and eliminate online...
- Software downloads 2008-10-02
- Internet Speed Up, Bandwidth Saver & Offline Proxy (zip)
- Internet Speed Up, Bandwidth Saver & Offline Proxy tool speed-Up browsing Internet because it's use cache, save your Internet cost, save Internet bandwidth, can block trojan like "Murlo" by block it's source. U can make Virtual internet from site that u was visited. Very useful and valuable for u. Version...
- Software downloads 2008-10-02
- BIOS settings demystified
- BIOS settings demystifiedVery good info - thanks!One thing I found which maybe everyone else already knew, and I don't know if it is common to all BIOS versions or just the ASUS KV8 that I have, but under the Advanced tab, there's a Legacy USB support option - having it...
- Discussion threads 2008-09-30
- Seagate FreeAgent Go (blue, 320GB)
- The FreeAgent Go is part of Seagate's latest new line of portable hard drives and is by far the thinnest we've tested while still maintaining a reasonably fast transfer rate. Seagate sent us a blue 320GB model ($150) for our review, but you can take your pick of four vibrant...
- Product reviews 2008-09-26
- Google Links (xpi)
- Google Links is an add-on that incorporates Google's operators such as cache: ("Cached Version"), related: ("Similar Sites"), link: ("Pages Linking Here"), and site: ("More From This Site") into the context menu when you right-click on any link. This version is the first release on CNET Download.com.
- Software downloads 2008-09-26
- One Month with Windows Vista
- One Month with Windows VistaSuperFetch, that is."SuperFetch monitors which applications you use the most and preloads these into your system memory so they'll be ready when you need them."http://www.engadget.com/2007/02/05/windows-vista-superfetch-readyboost-analyzed/http://channel9.msdn.com/shows/Going+Deep/The-Advancement-of-Windows-Michael-Fortin-Windows-Vista-SuperFetch/Windows XP has PreFetch the precursor.Doesn't Vista allow the user to distinguish between the two?Using RAM as cache is a very old...
- Discussion threads 2008-09-23
- The New Adventures of Christine's Old PC
- Windows XP virtualized within Vista SP1 using VMWare Player. Some of you may be aware that I have another identity besides professional technologist and tech/computer industry blogger -- I'm also passionate about restaurants, cooking, and eating (albeit with a healthier focus these...
- Blog posts 2008-09-22
- First Core i7 processors - 920, 940 and 965
- First Core i7 processors - 920, 940 and 965Xenons'Along that, any news on what's gonna happen for the Xenon product line?...Too Expensive...I may not wait for it now...Those 8 Threads could come in handy for video encodingI can't wait for samples to be performance tested in video encoding and photo...
- Discussion threads 2008-09-17
- Apple mega-patch covers 34 Mac OS X security issues
- Apple has shipped another mega-update to address security vulnerabilities affecting Mac OS X users, warning that the most serious issues could lead to arbitrary code execution attacks. The update, available for Tiger and Leopard, addresses a total of 34 documented vulnerabilities, some in third-party components like ClamAV,...
- Blog posts 2008-09-15
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
Business-Grade Laptops
- What do you look for in a laptop? And who’s the best? When you choose a laptop for yourself or your organization, what’s the key factor you look for? And what’s your favorite vendor? Learn more »
- Six Great Laptop Hacks Read now »
- From our sponsors
-
Business. Ready.
- Sony VAIO® Professional Notebooks A new grade in mobility demands a new kind of PC. See how Sony VAIO® PCs can meet your business needs. Learn more »
- Award-winning technical support Protect your PC investment. Right now, buy a select VAIO® notebook and get a Docking Station bundle at no extra cost. Learn more »





