Welcome to WebmasterWorld Guest from

Forum Moderators: mack

Message Too Old, No Replies

Slow pages and availability calendar

9:10 am on Dec 12, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 4, 2003
votes: 0

I have a site advertising my holiday home for rent and the Availability page has a table showing the coming 52 weeks and whether the property has been booked or not. I have put 52 rows (split into 2 cells each), total 104 cells. there are no photos on this page.

But this page is 49KB which takes 38 seconds top load at 28.8KBS which is too slow. The next largest pages on my site is only 16KB which is acceptable.

Is there any way that I can reduce the size of this page - ideally i would like it to be 20KB max.



3:29 pm on Dec 12, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:July 23, 2003
votes: 0

Reduce the amount of HTML you use.

I'm not sure if this would be of any use to you, but would you just make do with one row and 2 columns and use the <p> tags or <br> tags to split your 52 weeks up? I suppose if you have your border showing on your table then it won't, but if you don't then this could help reduce the file size. Also, try using CSS as this too will reduce html coding. Run your site through the W3 validator to see which attributes you do not need (such as table height, etc).

See, using tables means that you have to give the table, table reference and table data attributes such as width, height, bgcolor, etc and can take up quite a bit of space. Just using <p> or <br> will keep this to a bare minimum.

You would also need to combine tags/remove empty tags. Try to keep your descriptions with less characters but as informative as possible. See, the more content the more K in your pages. Keyword your links and clean your html as much as possible.

You say there are no photos, but are there general images (such as buttons)? I like to use text links.

What type of menu do you use? If you use javascript then point it to an external javascript file.

This should take some loading time off your site.

Good luck

3:45 pm on Dec 12, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 4, 2003
votes: 0

Thanks for you helpful reply Traffic Daddy.

There are a lot of comments for me to review here which will take me a little time.

Just to say that I like the look of cells with a RED background to show that the week is already booked and a white background to show that it is still available. That would be one disadvantage of just using <p> and <br> tags but that may be the only viable option to reduce the page size.

Thanks for the suggestions - I am working thru them.



5:53 pm on Dec 12, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 23, 2000
votes: 0

>RED background

You can do that all with CSS and greatly reduce the amount of code on page.

I have one site with a large table like you mention and the code bloat is enourmous. Repeating all the table and cell tags really adds up. It is not a popular page so I haven't bothered changing it.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members