Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: mack
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.
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.
This should take some loading time off your site.
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.
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.