PDA

View Full Version : Full image path?


gothicuser
28 Jul 2006, 13:23
I believe I read somewhere that to use the full image path is less processor intensive than to use variables
i.e:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


instead of:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



What is your advice?
Oh, another thing just springs to mind, if the full path is recommended, is the URL needed?
i.e.:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


as opposed to:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Princeton
28 Jul 2006, 15:18
I guess it would help but it will not be noticable.
I recommend keeping the variables as it decreases time spent on "editing" a style.

If it's the same server, you don't need the full image url ... I recommend against this practice.
For each full url, you are asking the server to check domain and fetch image (http hit).

- server doesn't understand what is "fred.com"
- server has to check and convert "fred.com" to something it understands
- server understand IP address
- server sends image


Servers are so fast to day, that you really don't see the difference but it could make a difference on big boards.

gothicuser
28 Jul 2006, 16:20
Many thanks for making that clearer :D
I dabble, but have no knowledge http://www.cornishserver.com/02.gif