I am trying to reduce the page load time for my site http://www.webcosmo.com This site is hybrid of css and html. Any ideas would be appreciated.
you can use divs instead of tables. you can optimize css. make the webpage XHTML 1.0 compliant. Optimize server backend processing. I noticed you have a lot of stuff coming from database. If this is so, you might need to optimize database. There are database experts who can guide you through this.
See the link: *validator.w3.org* (Failed validation, 386 errors) You need big optimization for this project. Look here: how long your site is loading: *webwait.com*
It can also depend on your server... and how many processor calls are being made to produce your code. The less calls, the faster the load. You may not have control over this if it is not custom code, but if it is on a "shared" server, with low ram, etc... that would also affect it I believe.
As others said if you could use div tags instead of tables that would make it much lighter! and that's not for 1 page! when you use tableless XHTML+CSS then all your site pages are using just 1 css file that was loaded on the first page but when you use tables the main structure of your page is being load each time a user goes to a new page! vvm i thought w3c validation is just for having same look on most browsers and didn't know that it helps on load time , can you give me some details on that?
You have nearly 400 html syntax errors[1], and you lack a complete DTD. Both cause the rendering engine to work harder/slower. Your html file is 90kB+. That's horrible, considering that there are only 312 words of content text, totaling 2089 characters. See your Web Page Speed Report. Refactor as well structured, semantic and valid html. The css files are way too large. You're either not using the cascade properly, or you're micro-managing due to the table layout's lack of proper structure. It will be easier to cut the css down after you've refactored the html. What does the javascript do that's all so important? An 8k script would be one thing if this were a comprehensive web application, but for this, it's overkill. cheers, gary [1] Why would you use Microsoft Visual Studio 7.0? It's notorious for making life difficult for web developers who care about doing things correctly.
Well, despite being a table-based Web site, it took only 15 seconds to load in Opera 9.2 on my 56k dialup connection. Whatever you do, don't abuse DIVs the way many abuse tables. Use the proper markup for the job. If you're marking up a list of links, use a list. If you need a heading, use the appropriate heading tags.
Add Gzip. http://leknor.com/code/gziped.php?url=http://www.webcosmo.com/ It will greatly compress that page to about 1/5 it's size in kb.
Clean all blank space and put height and width to everything. On the contrary of what other said, you can use and abuse table but always put the width and height to them.