On Tue, 11 Jan 2005 11:46:15 -0500, shawn <shawn@noemail.nowhere.com>
wrote:
> Hi,
>
> 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? if so, i have all
> my
> images in a page with full URL, will that slow down the page download
> time?
Both will be treated the same by the client; all requests will be made
separately. Some servers support pipelining, which means all the requests
will be sent via the same socket connection, but still, each and every
request is sent (unless the client decides or is told not to).
> Best of all, is it possible to deliver both text/html and image/gif in
> one http request?
Technically yesh, but why complicate things? Why would you want to do
this?
> I suspect that typically they are separate requsts to the
> server, right?
Almost without exception.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
-
http://www.greywyvern.com - Orca Knowledgebase: Completely CSS styleable
Knowledgebase/FAQ system