Not sure how to word the question but I can give you an example.
Which would be more efficient in terms of like speed and overall “doing it correctly” I guess;
http://www.dlolpics.com/images/troll.jpg
or
images/troll.jpg
I usually leave off my domain URL and do images/troll.jpg but is it really a big difference or if a difference at all?
Any information would be awesome, thank you.
Obviously less content in a web page makes it smaller to download, but that is not a good enough reason alone to justify the shorter one.
The main reason to go with a relative URL (the short one), is to make the web site more portable. For example if you rename a directory higher up in the hierarchy or change your domain name you aren’t going through the whole site fixing all your URLs.
Bottom line: Do it for ease of maintenance, unless you have thousands of links in a page or you are getting web traffic in numbers like twitter it won’t make an appreciable performance difference. Honestly it sounds like you are prematurely optimizing the app, and probably focusing on the wrong things unless you already have profiled your site and noticed performance problems related to the size of the HTML.