Forum Moderators: open
<base href="thedomain.com" />. I then have my images and such like this <img src="/img/thepicture.jpg">. It works fine, no matter where in the dir structure the page is. My question is, having the base href set like that, isnt it the same as having an absolute url for your images, like
<img src="http://thedomain.com/img/thepicture.jpg">? Which is bad for download times? isnt that bad for server load as well? Thanks for clearing this up for me,
juglesh
But using a <base href> tag instead of writing out all those absolute urls eliminates most of that extra mark-up, so I don't know of any real downside here in terms of a performance hit. The url "conversions" take place in the browser or user agent -- there's no difference on the server to my knowledge.
These days I would pay far more attention to keeping every internal link in a consistent format as that is supposed to keep Google happy.