I've noticed that when I ping a host which is on the other side of the globe, I either get very high pings or the packages get lost. However when I browse websites hosted by the same host, the pages loads very fast even if it's the first time I'm visiting that website. Why do you think is that?
You probably just aren't noticing the higher latency while browsing. If the ping times you're talking about as really high are in the 100's then it may not make a difference. If they're in the 1000's then maybe most of the images are cached on your computer or something?
Last edited by larry2148; 11-14-2009 at 01:07 PM.
In many practical cases it becomes the same depending on many factors. A ping-time is typically the time taken by a packet to transfer. Many providers block pings resulting in packet loss during pings.
so you might expect a website to take about 1 second to load.
Sites (most being in the US) take 2 seconds + to load, browsing from my corner of Europe, even the simpler ones. The number of files involved tends to be a big factor in this, compounding the latency's (ping's) effect.
However when I browse websites hosted by the same host, the pages loads very fast even if it's the first time I'm visiting that website. Why do you think is that?
It may be the difference between measurable time, and perceived time. If you're using Firefox, you can install the Firebug addon, and see how the page is loaded, which files take longer etc.
A ping test is done when a short request is sent to the web server via your local machine. The ping results will come back in a time figures (normally in ‘ms’) to show how long it takes to get reply from the web server.
maximum the Time and TTL = slower the speed site to load in browser
minimum the Time and TTL = faster the speed site to load in browser