Browser Access Web page principle (understanding)
- The first time opened IE6, found that the system automatically generated a folder, so we can conclude that this folder must have a certain relationship with the IE6
- First delete all the folders under the Internet cache, and then open Baidu's homepage through IE6, open Baidu homepage, we found the deleted folder back
- Delete this folder again, found unable to delete, prompt to be opened by other applications, but when we close the IE6 browser found can be deleted
So by synthesizing our 2nd and 3rd, we come to the conclusion that these systems automatically create folders that have a certain relationship with the currently opened Web page.
By observing that the content stored in these folders is related to the content on the Web page
So what folders are these folders?
In fact, these folders we call the cache folder, the cache folder is dedicated to store the Web page Data folder
- When we use the browser to access the Web page, in fact, there is a real physical file transfer, the browser will first cache the contents of the page into a local folder, and then render it to the user to view
- Usually when we surf the internet, we feel that the second visit will be quicker than the first time, because the information on this page has been cached locally on the first visit.
- Through observation, we also found that in the cache folder in addition to the cached image also cached some such as. js. css. html files, so it can be concluded that a Web page is not a file but a bunch of files, the more complex the page, then the more files that compose this page
- The process by which the browser requests data
Lesson 3: Browser Access Web page principle (understanding)