English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-12-07 08:22:24 · 3 answers · asked by vetruvial_man 1 in Computers & Internet Internet

3 answers

cookies are a small text file that websites are permitted to store on your computer. You may have noticed that some sites that you need to log in to remember who you are the next time you visit. This is because they are able to use the information in the cookie to identify you as the same user who previously visited the site.
The cache is a store of webpages that you have viewed recently. When you visit a website, one of the first bits of info to be exchanged between your computer and the other end is the date and time that the page you want to view was last modified. If the copy in your cache carries this same date/time or is more recent, then you don't need to redownload it, and you browser will show you the one from your cache instead. This saves quite a lot of bandwidth, and explains why the second visit to a webpage is frequently quicker than the first.

2006-12-07 08:30:45 · answer #1 · answered by spender 1 · 0 0

Cookies are actually harmless text files that certain web sites will place onto the hard drive of your computer. Your Internet Browser will then load the information into memory while you are visiting their site. The Cookie itself, actually takes up very little space and acts as an identification card for the visiting site. You can compare this to visiting your favorite restaurant where your food server will usually remember certain aspects of how you like your food prepared and what you usually order. This information would obviously be based upon his familiarity of your prior visits. Well Cookies actually act in a similar manner and do not contain viruses as a virus must be executable file. Let us look at some of the ways that Cookies act as an identification card.

A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same data or instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM

2006-12-07 08:24:04 · answer #2 · answered by G 7 · 1 0

Cookie:
A message given to a Web browser by a Web server. The browser stores the message in a text file. The message is then sent back to the server each time the browser requests a page from the server.

Cache:
Pronounced cash, a special high-speed storage mechanism. It can be either a reserved section of main memory or an independent high-speed storage device. Two types of caching are commonly used in personal computers: memory caching and disk caching.
A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same data or instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM.

Some memory caches are built into the architecture of microprocessors. The Intel 80486 microprocessor, for example, contains an 8K memory cache, and the Pentium has a 16K cache. Such internal caches are often called Level 1 (L1) caches. Most modern PCs also come with external cache memory, called Level 2 (L2) caches. These caches sit between the CPU and the DRAM. Like L1 caches, L2 caches are composed of SRAM but they are much larger.

Disk caching works under the same principle as memory caching, but instead of using high-speed SRAM, a disk cache uses conventional main memory. The most recently accessed data from the disk (as well as adjacent sectors) is stored in a memory buffer. When a program needs to access data from the disk, it first checks the disk cache to see if the data is there. Disk caching can dramatically improve the performance of applications, because accessing a byte of data in RAM can be thousands of times faster than accessing a byte on a hard disk.

When data is found in the cache, it is called a cache hit, and the effectiveness of a cache is judged by its hit rate. Many cache systems use a technique known as smart caching, in which the system can recognize certain types of frequently used data. The strategies for determining which information should be kept in the cache constitute some of the more interesting problems in computer science.

2006-12-07 08:26:29 · answer #3 · answered by Secret Agent of God (BWR) 7 · 0 0

fedest.com, questions and answers