Forum Moderators: phranque
The problem I have is that now the pages which call back to my US server through php to find images and information are loading much slower.
Average page load time has gone from 1 second to 10 seconds.
I know the server move is the cause of the problem because I have a similar site still totally hosted in the US which is still fine.
Not only is the new site slower (only when loading the US hosted images, the rest of the site is faster)but it appears that my webpages are completely downloaded before they are shown, the pages used to load one image at a time which (even on a dial up connection) would let the visitor know the page was coming.
So My questions are:
1) Is it possible to make the property images load one-by-one (maybe using separate tables or divs)
2) Am I going to be forced to move everything to the same server or can I add another server in a private LAN?
3) Is it generally accepted that a UK server calling images from a US server will be very slow?
thanks for any help/info you can provide me.
Also ten seconds to load image pages! I run some 90% image sites with images served from the US and have nowhere near that long to wait!..am on dsl in France and incoming speed is an actual 250kb per sec max ( they tell me 6.00 to 8.00 megs ..they lie ..I knew they did when I signed up ..they lied less than the "competition" of which we dont have much )..
How big is your average image? remember most ( 98% ) of people run at definitions that mean anything over 72dpi is wasted on them ..run low to medium res "teaser" "click throughs" at entry pages and high res as lead outs ( with warnings about "large files" etc )..
BTW your UK server space and specs costs way less than french for the same deal so be relatively happy..
doesn't geotargeting by search engines suck?..Let the searcher decide the relevancy of where the data is hosted!
From a responsiveness angle, the first thing I'd do is get PHP and the database nearer to each other, or at least on the same continent.
Preload ..java scripted feed or whatever
Design later loading stuff to come in below the fold
Combine both ideas and use "thumbs" page and let "them" interrupt your sequence of "sneaky" preloading larger images via script interrupts/variables/ifs..you can script the .js as an include at under 4kb at onload ( this may slow down older browsing machines if they choose out of sequence jumps to "large image" as the processor load is heavy at under pentium III or equivalent and with only 32 to 64 ram ) ..depends on your target demographic ..and how fast they can read your text whilst they are "waiting" for your images to preload in the background
Design later loading stuff to come in below the fold
thanks for the other ideas - I'll run some tests to see what the improvement is like.
So far it looks like I'll still need to relocate the first server out of the US
And so you know what the round time equivalent would be for the private server LAN alternative?
thanks again
yep ..if using php "calls" ..move your server will make the biggest difference ..design etc are just tweaks compared to that..
Why not keep your images on the same server as you are running your pages from? One server is almost always better than 2 given modern hosting specs ..
at this stage I've made the tweeks suggested and I'm in the process of merging all the php US server requests into one big php include. In theory this is going to reduce the number of UK > US server requests down to two (database access & everything else).
the final option is to move the server but as above I'm scared and the increased bandwidth costs are the icing on the cake
UK servers are what ..? about 3 times the cost of US plus bandwidth at 3 to 5 times US costs? ..images are your largest "hog" ..donc "no brainer" ..
Go through your logs with a fine toothed comb and see who bails out fast after arriving , where they came from "geo" , how fast they got maybe tired of waiting , what files , image or other did they call just before they went ..and what they did during the time they were onsite ..
And if they do so in numbers/percentages large enough to make any difference to your sales or ROI..given the possible increase in overheads to maybe mitigate their actions.
Be carefull you are not chasing shadows here ..it can be an expensive and relatively unproductive game