adding image to dom and requesting content of txt file using Ajax. does it take same time ?

Posted by Anil Namde on Stack Overflow See other posts from Stack Overflow or by Anil Namde
Published on 2010-03-23T11:30:37Z Indexed on 2010/03/23 11:33 UTC
Read the original article Hit count: 416

Filed under:
|
|
|

I have image and txt file of same size say 200 KB. Now i would like to calculate the time to download the image and text of text file.

Now my question is adding image to DOM and and then calculating time on onload and requesting content of txt file using Ajax will they take same time or due to image and xml they will take different time ? why ?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about AJAX