Wednesday, May 16, 2012

Difference between Cookie and Cache


NO Cookie Cache
1 Cookie is a very small piece of information that is stored on the client’s machine by the web site and is sent back to the server each time a page is requested Cache is a temporary storage of web page resources stored on client’s machine for quicker loading of the web pages.
2 Cookie is to store information to track different characteristics related to user Cache is to make the loading of web pages faster
3 Cookies keep information such as user preferences Cache will keep resource files such as audio, video or flash files.
4 Cookies expire after some time Cache is kept in the client’s machine until they are removed manually by the user.

3 comments: