If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

web site loading problem

If you want to visit(/load) the web site www.icasa.ro , you will observe that it takes a very long time to be loaded. After a while is loaded instantly. I would like to make it to load progressive. How can I do that?

It is true that my Internet connection is not as good as yours. I have a 12 kbs I-net connection. But I still want to improve the loading speed of the web site because most of my visitors have the same bad Internet connection as I have.

I made an optimization upon the images, html templates, css files and now I`m trying to make an optimization of the php script. Do you have any idea, can I make optimizations of other elements of the web site?

And don't worry about the php script, thats all processed at the server end so your visitors wont have to download it anyway. They will have to download any results of the php script, however. But thats what you see when you view source.

If one of our members helps you, please click the icon to add to their reputation!No support via email or private message - use the forums!
Before you ask, have you Searched?

You can cause the page to load in sections in some browsers by spliting the site into several tables. Some older browsers (thinking IE4 ilk) used to not display any content inside a table till every part of the table including any images inside it had loaded. If your design is basically just one long table, then the browser will wait till all the page has loaded before rendering anything to the screen.

If you look at your code and rather than taking a new row in the table, try closing the table and opening a new one. Then each row, now each table will load and render on the screen seperatly.

Another tip is to try uning interlace on your gif files. This allows them to render rough to start then progressivly sharpen. This can also increase table render time as only the rough version of the gif has to load for the table to start drawing.

N.B. Modern browser render pages better now. So the above only works on old system.

Thank you everybody for helping me. You really helped me. My problem is considered solved. I improved the loading speed enough. Sometimes, the web site is loading in less than 2 second, even if I have such a bad Internet connection. In the worst cases, the loading speed is about 4-5 seconds. Generally it is loaded in about 3 seconds.

Dave, I moved the image map to the bottom of the HTML page (PHP template) and I decreased the amount of memory (size in kb) of the map (gif file) from 13 kb to 5 kb.

QuietDean, you are right, but I expect that my database will be huge (thousands of records or even more - 30.000 - 50.000 records/one table - I have a lot of tables in my databases (50 tables), one table have more than 100 fields), that`s why I wanted to make the optimizations of the queryes now.

Rincewind, I tried to use your suggestions in solving my problems, but I observed that your advices are usefull only for HTML, but not for PHP scripts.