When the img src value is empty, two requests are made. Some students may have encountered similar situations before. When there is a tag like <img src=''>, an extra request will be made to the page. Based on the analysis of an article, I guess that all tags that actively introduce external files will have this problem, such as embed, link, etc. Therefore, it was verified by experiment. The following are preliminary conclusions :
Note : 1. For the two requests of IE and Firefox, the pages they request are different. IE: The request is for the directory where the accessed file is located, such as the img tag, the second request is http://www.xxxx.cn/test/ FF, Safari, Chrome: The requested file is the one being accessed 2. For the embed tag, the above description is when type is not empty. When type is empty, FF requests 1, and IE responds differently depending on the type value. 3. If the above tags do not contain src="", no secondary request will occur. |
<<: This article will show you what Vite does to the browser's request
>>: Pure CSS3 to achieve mouse over button animation Part 2
Preface As a basic data structure, arrays and obj...
This article mainly introduces why v-if and v-for...
Application nesting of unordered lists Copy code T...
MySQL is an open source, small relational databas...
es installation docker pull elasticsearch:7.4.0 #...
Table of contents 1. concat() 2. join() 3. push()...
<br />Recently, UCDChina wrote a series of a...
Table of contents LAMP architecture 1.Lamp Introd...
This article mainly introduces the layout method ...
What are slots? We know that in Vue, nothing can ...
View the installation information of mysql: #ps -...
Table of contents Precautions Necessary condition...
Frameset pages are somewhat different from ordina...
xml <?xml version="1.0" encoding=&qu...
Preface Before talking about covering index, we m...