Forum Moderators: open

Message Too Old, No Replies

How to Reduce a big Index / Home page

optimize the size of a homepage (kb diet)

         

billy_t9

12:11 pm on May 30, 2002 (gmt 0)

10+ Year Member



Well I heard that lots spiders cant crawl a page that is over 101k. I am now modifying the problem.
How can I reduce a page (in my case is .asp with weather forms internal search box..) any clue, cause I am very close at the limits of 101k size.
:(

Nick_W

12:15 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Go CSS,

do the page in xhtml and put all of the 'presentation' and layout if you can in an external stylesheet.

also, use external js if you use this.

Nick

korkus2000

12:17 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can always trim your whitespace. Move your javascript to a js file. Also convert font tags into css.

billy_t9

12:24 pm on May 30, 2002 (gmt 0)

10+ Year Member



Thanx u r very quicky.... ;)but already using an external css for all the formating.
what about my multiple js inside the page? ... my weather section for 5 cities is about 6kb...

ukgimp

12:34 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You say your page is ASP. Is the size you are referring to the actual size of the file on the server or the size of the page that is rendered. There is a big difference. The spiderable page is likely to be much smaller than the one doing the server side stuff.
You could also call external JavaScript i think.

Cheers

Nick_W

12:37 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is still alot of stuff you can take out and put in your stylesheet. for example...

your body formatting
your table formatting
td formating

moonbiter

1:22 pm on May 30, 2002 (gmt 0)

10+ Year Member



As mentioned by korkus2000, if you are really desperate to reduce the file size you can remove all of your non-essential whitespace. A tool named HTML Shrinker does that nicely (a try a Google search for "HTMLShrinker" to find the application's homepage).

Note: you'll probably want to keep a non-shrunk, working version of the file if you take this route. ...

billy_t9

2:48 pm on May 30, 2002 (gmt 0)

10+ Year Member



The spiderable page is likely to be much smaller than the one doing the server side stuff.

I am refering to the spiderable size.