|
By includes, you mean Server Side Incudes or PHP/ASP includes. In which case the slow down the load speed of your pages. Though only by an minute amount. This is cause the web server has to peice together the jigsaw of includes into one finished html file before it can send it to the browser. This additional server load must result in a small amount of extra time.
To speed up page loads there is really one one thing to do - Make the pages smaller.
This can be done by:
- Using and external CSS file. Since this file is cached by the browser, it only has to download once. If you put your styles inline with the html, then it has to pull all that data every time.
- Minimise the size of your graphics. Use an optimiser to shrnik the file sizes. Also think about physical size, could a small tyling graphic in the background do the job instead of a large graphic?
- Clean up your html. If you use a wysiwyg editor, then there will be allot of html tags in there that don't need to be there.
- Remove extranious spaces and new lines between html tags. While it make the page easier to edit, each space and newline is actually another few bytes of code.
- Keep server loads low. Avoid anything that requires the server to do work. E.g. php, SSI and MySQL queries. Or at least keep them to a minimum.
|