View Single Post
Old 01-11-2005, 13:00   #2 (permalink)
Spartanicus
Civilians

 
Default Re: difference between relative path and full URL

"shawn" <shawn@noemail.nowhere.com> wrote:

>My question is does anyone know the difference between specifying a relative
>path such as
><img src="images/myimg.gif"> and full URL
><img src="http://mysite.com/images/myimg.gif">?
>
>Does the second one issue an additional http request?


The same for both.

>if so, i have all my
>images in a page with full URL, will that slow down the page download time?


Full urls require a few more bytes in the code, other than that, no.

>Best of all, is it possible to deliver both text/html and image/gif in one
>http request? I suspect that typically they are separate requsts to the
>server, right?


Most servers support http 1.1 pipe lining nowadays.

--
Spartanicus
  Reply With Quote
 
Page generated in 0.55648 seconds with 14 queries