Posted: Sat Feb 19, 2005 1:04 am Post subject: Use relative path instead of absolute path
After working a small database in my company, realize that using relative path reference is significance faster than use an absolute reference.
Example :
You have a page than contains thumbnail, you store your thumbnail in a directory called "image" which is the same level with your "index" page, there are two ways to display your image :
1. Use the absolute path like : <img src="http://www.mypage.com/image/yourimage.gif">
2. Use the relative path like : <img src="image/yourimage.gif">
The second way is better and faster in loading time, so you guys better use the second way..
comment?
____________________
free ebook web design | newbie programming tutorial
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum