Page loading.
-
I m done a web page in that 6 para and 4 picture is there. that one done asp.net. Know Load the picture first then after completed picture then text will wt I do plzzz help on this.
I read your post many times. Honestly, I couldn't get what you are saying. Could you rephrase your question so that we understand.
Navaneeth How to use google | Ask smart questions
-
I read your post many times. Honestly, I couldn't get what you are saying. Could you rephrase your question so that we understand.
Navaneeth How to use google | Ask smart questions
-
I created one web page. that web page contains 4 picture and 6 para
. when page loading or at time of refreshing. The Images are come first and para like that can i make it. Like sequence manner.
Well, AFAIK, that is not possible. Browser sends multiple requests in parallel to make the page download faster. You can't predict in which order it does this.
Navaneeth How to use google | Ask smart questions
-
I created one web page. that web page contains 4 picture and 6 para
. when page loading or at time of refreshing. The Images are come first and para like that can i make it. Like sequence manner.
Let me get this straight. You want to display the para first and then the pictures to upload? Prateek
-
Let me get this straight. You want to display the para first and then the pictures to upload? Prateek
-
Sorry for not replying sooner. After doing some research, I found out that when you send a request, the browser first loads up all of the main web pages e.g. main.aspx, default.aspx, etc. and then gets the other resources e.g. javascript files, images, etc. So the answer to your question is that the browser handles how the files are loaded and you really can't change the way the files are displayed. I apologize if this wasn't helpful, Prateek p.s. oh yeah, if you like to see how the web request work, i would download Live HTTP Headers for Firefox.
-
actually...can you show your code. Something occurred to me and it might have something to do with how you have arranged your code. If you are loading the pictures before getting the file with the para, that might be why your pictures are loading before the para. Prateek
-
Well, AFAIK, that is not possible. Browser sends multiple requests in parallel to make the page download faster. You can't predict in which order it does this.
Navaneeth How to use google | Ask smart questions
I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page. Lets say, you have a default.aspx page that consists of image1.jpg and a main.aspx page that consists of image2.jpg. The browser will first send the request to get default.aspx and main.aspx. Once it receives the response for default.aspx, depending on what the response is, it will send the request for image1.jpg. Same goes for main.aspx i.e. once it receives the response for default.aspx, depending on what the response is, it will send the request for image2.jpg. Prateek
-
I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page. Lets say, you have a default.aspx page that consists of image1.jpg and a main.aspx page that consists of image2.jpg. The browser will first send the request to get default.aspx and main.aspx. Once it receives the response for default.aspx, depending on what the response is, it will send the request for image1.jpg. Same goes for main.aspx i.e. once it receives the response for default.aspx, depending on what the response is, it will send the request for image2.jpg. Prateek
Pr@teek B@h! wrote:
I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page.
Do you have any documents to prove your points? Well, I don't think you are right.
Navaneeth How to use google | Ask smart questions
-
Pr@teek B@h! wrote:
I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page.
Do you have any documents to prove your points? Well, I don't think you are right.
Navaneeth How to use google | Ask smart questions
Sorry, I don't have any documents...but, if you view HTTP Headers while going to websites, you will notice the pattern. I noticed this when I was building a proxy. I could be wrong, but it would be worth it to check it out. Prateek p.s. do you have any documents supporting your theory? I would love to read up on this topic.