What\'s faster? Hot linking (inline linking) to an absolute URI or hosting the resource yourself and using a relative URI?
In his tutorial on how to style HTML5 elem
The correct answer is - it depends.
Hotlinking can be slow because -
Hosting on your server can be slow because -
If you assume both servers are identical in every respect, I'd say hosting on your server is going to be faster. This is true especially on new browsers where the number of connections per host is 6.
But sadly, things are never so simple. I'd recommend using hotlinking only if -
For all other use cases, you are better off hosting on your own servers.