This may not be the best place to ask this question, but all the folks that visit this forum seem not only knowledgable, but eager to help. My question is this:
Is it faster to reference a link in HTML with the full path even if it is on the same server (i.e. href="http://www.bytell.com/docs/mydocs.htm") or with the relative path location (i.e. href="docs/mydocs.htm"). I do not know how the server handles these two links to the same document.
If the server actually converts the relative path to a fully qualified URL and sends that info to the client browser, who in turn makes the request for the document (I realize this would all be under the covers and the user would never know the difference), it would seem that using the full path would be faster since the server would not have to do all the converting. Does the client at that point have to resolve the domain name and all that stuff?
If the server, however, sends the html document directly to the client browser
because it knows that the file resides on the same server, using a fully qualified URL would seem to slow the delivery of the document since the client would have to resolve the domain name and all that stuff.
I hope someone with some knowledge of this can help me.
Thanks in advance.
Tim