Aheib |
06-04-2004 02:28 PM |
In almost all cases - unless mysql is overloaded or your server so the php parses takes a while - when you click a link that goes through a tradescript to a gallery and it takes a while, it's not because the tradescript is slow, but because the gallery takes a while to respond. The thing is that untill iexplore actually starts to receive html from the gallery your url bar will show the link of the trade-script, while in the headers you're already redirected.
The same is with servers that are down. If you have a gallery that's down and you click a tradescript link to it, it will look like the out.cgi / out.php file of the tradescript is incredibly slow and times out. The reason is because the url didn't change because your browser didn't receive any html from the gallery itself.
The best way to try the speed of your script is by creating a link to your tradescript that sends 100% to galleries and sends to http://localhost - which is you.
This way you eliminate the reponse-time of the gallery and the waiting period is only caused by the trade script (and of course the response time of your own server, so ping it first :))
|