PDA

View Full Version : frontpage optimization


Doom9
30th January 2002, 01:46
I'm currently optimizing the html code of my page.. and the main page is the messiest code on the whole site, quite big and takes long to load.. On most of the pages I just used some CSS tags to get rid of the tables and have the same visual effect but on the frontpage it's a bit more complicated so I was wondering if anybody has some experience in that area and maybe has a solution to make it lighter without messing up the look

omol
30th January 2002, 14:28
Originally posted by Doom9
I'm currently optimizing the html code of my page.. and the main page is the messiest code on the whole site, quite big and takes long to load.. On most of the pages I just used some CSS tags to get rid of the tables and have the same visual effect but on the frontpage it's a bit more complicated so I was wondering if anybody has some experience in that area and maybe has a solution to make it lighter without messing up the look

How about storing those daily news on flat files, on daily basis, then include them in php or perl? Since you can read them one by one in smaller chunk instead of one big chunk, thus rendering the news (right html in this case) progressively. Another side effect to this is you can easily edit the news. Even if you are on a slow dialup link, u can still fire up vi from telnet session for a quick fix.

regards,
omol

NearlyCritical
31st January 2002, 06:17
HTML Compression

I don't know too much about it, other than reading about it on www.aceshardware.com When the site was updated last October, one of the new features was HTML compression, which apparently is widely supported by current browsers.

A small article is here:
http://www.aceshardware.com/read_news.jsp?id=55000381

Quote:

"... even those on low-bandwidth links will be able to appreciate a significant speedup thanks to an extremely important feature: realtime HTML compression. The pages on this site are generated dynamically and then compressed on the fly before being transmitted to your browser. This means that a large forum index that might traditionally take 30 seconds or more to download on a 56Kbps modem link now requires less than 5 seconds!"

There is a link for the forum discussion below that with further info on the topic.


Hope this helps, Doom9 :)

LoloMc
28th February 2002, 09:07
Hi,
There is an option called "clean html code", and it's especially made for FrontPage (witch is a MicroSoft product :-(

I already test it with a html page produced by Excel, and it has been working very well. 135kb -> 65 kb. After some manuals interventions, 65 kb -> 48kb, but unreadable!

Sorry for my so bad English

Doom9
28th February 2002, 12:18
I'm using dreamweaver;) but it doesn't produce very clean html code either.. I found many bugs when manually going over all the pages.

atm there's really no need for optimizations anymore.. the only thing that would be of any help is if anyone could tell me how to turn on gzip compression on apache.. I think it's already turned on on most servers but I don't know what to look for in the config file to make really sure.

Scuba
28th February 2002, 15:59
Edited,
Here is a link to tips of Mod Gzip http://i4net.tv/marticle/get.php?action=getarticle&articleid=12
Hope this will help