Site Statistics
 
Threads: 3,853
Posts: 17,029
Members: 2,895
Users Online: 15
Newest Member: yhangjoy


Go Back   PC101 > Discussion, News, & Tutorials > Tutorials and How-To...

Tutorials and How-To... Learning something new is just a click away! Provided to you by members and staff.


Reply
 
LinkBack Thread Tools Display Modes
Old 09-05-2006, 01:05 PM   #1
Junior Member
 
Join Date: Sep 2006
Posts: 7
Rep Power: 0 Robert White is on a distinguished road
Definition of Cache

I see the term "cache" used in a number of different contexts, and it seems to be defined differently in each specific context.

What is the definition of cache, overall, seperate from any specific usage?
Robert White is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2006, 02:14 PM   #2
Distinguished Member
 
Join Date: Jul 2005
Posts: 2,208
Rep Power: 5 Will.Spencer is on a distinguished road
Merriam-Webster defines "cache" as:

1 a : a hiding place especially for concealing and preserving provisions or implements b : a secure place of storage
2 : something hidden or stored in a cache
3 : a computer memory with very short access time used for storage of frequently or recently used instructions or data -- called also cache memory


In this context, we should probably focus on the third definition. Even within that scope, however, there are several different usages and meanings of the term "cache."

A web cache stores data that users browse over the web. Web caches can exist on individual PC's, or they can be seperate devices that reside on the network. When I browse a web page, Firefox stores a copy of that web page on my hard drive. When I go to look at that web page again, Firefox retrieves the web page from my hard drive instead of going all the way across the Internet to get that web page. The makes my Internet connection appear faster.

A disk cache is a section of RAM (Random Access Memory) which is reserved to temporarily store data from from a disk drive. There are two kinds of disk caches, read caches and write caches. Read caches improve the performance of disk reads, because the second and following times that you read the same data, it will be read from RAM instead of from the disk. A write cache improves application performance, because the computer tells the application "Don't worry, your data is written, get on with your work" and then later goes through the steps of actually writing the data to the disk.

Modern CPU's contain a portion of very fast RAM built into their silicon. This very fast RAM is used as a cache for the slower RAM connected via the motherboard.

Looking at these three types of caches, we see that a faster storage medium is used to cache data for a slower storage medium. RAM on the CPU is faster than RAM on the motherboard, which is faster than a hard disk drive, which is faster than an Internet connection.
Will.Spencer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2006, 07:35 PM   #3
Junior Member
 
Join Date: Sep 2006
Posts: 7
Rep Power: 0 Robert White is on a distinguished road
Thanks again Will!
Robert White is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the system cache and paging? Black_Hand Windows Vista, XP, 2000, 98, etc... 0 10-29-2006 07:57 PM
Problem with ARP cache Seaside Roses Wireless Networking 2 10-16-2006 04:14 PM
infamous ARP cache problem kevyn Networking 6 09-22-2006 03:32 AM
How do I flush the DNS cache in Linux? Zardoz UNIX / Linux 3 08-27-2006 10:49 AM
Question: How to keep items in the Firefox Cache. Rosetta The Internet 1 06-08-2006 12:52 PM



All times are GMT -5. The time now is 06:02 AM.

Powered by vBulletin Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5