Posted on: 08/01/02 06:47am
By: Anonymous (plamping)
My geeklog installation on my web hosting provider is slow. Page creation time is 12 seconds (although my internal test web server creates pages in 1 second). I inquired about this with the web host, and they said if I used "relative addresses for each webpage, not absolute" it might speed things up.
Does anyone know if this is the real problem and, if it is, if there is a fix for this without having to re-write the whole thing?
Paul
Relative addresses?
Posted on: 08/01/02 10:46am
By: rcg
I had similar differences between development and destination server speeds, but it was the reverse. The destination server is much faster.
But this is only because my dev server at the time was sharing processing power with a few hog sites.
If you want performance to improve, I think you're pretty much limited to upgrading your server.
Relative addresses?
Posted on: 08/01/02 06:07pm
By: Anonymous (Anonymous)
In your config file, don't specify an absolute http://. An "absolute" URL can also begin with just a forward slash ( / ), and has the performance benefits of a relative path ( ../ ). Example:
http://www.geeklog.net/layout/XSilver/images/logo.gif
becomes
/layout/XSilver/images/logo.gif
This made a significant performance on my page load times. This will mess things up where GL prints your site URL, like on all printer-friendly pages. Just hack that page to include your full domain.
--Aaron
Relative addresses?
Posted on: 08/01/02 10:38pm
By: Euan
Sounds a little like my problem with my original host. There was an incompatibility with the university network and the host, which meant pages took up to 20 minutes to download. Changed host - problem went away. Get some people to check your site from other places.
Cheers,
Euan.