"body { background: #cccccc url('image.jpg') repeat-x; }"
A properly created small external CSS file will substantially reduce website load time.
3. Use External JavaScript
If you must use JavaScript, merge small common JavaScript files into a single external file and then (for newer browsers) you may compress it. This will reduce website loading time and you don’t have to write the script on each web page – the web browser has this file in its cache and won’t have to download it each time another web page loads.
4. For Table Based Website Design
Avoid unnecessary nested and full-page tables. If you insert a table inside another table, it increases web page load time because the browser has to read the content located in the innermost table. Avoid unnecessary nested tables, instead divide your page into different sections like header, body, footer etc. according to your layout and use a different table for each section. Your browser will be able to load your web page a bit faster.
5. Use Table-less Website Designs
Every time when a website is opened, the browser has to first scan tables and then load the content of the page which increases the website loading time. Using CSS and DIV tags you can avoid tables altogether and reduce website loading time substantially.
C. OTHER factors that reduce website load time (remove the cellulites:-)
1. Host on a high-end server with fast connectivity to decrease website loading time.
2. If you have a database driven website, it is faster and more secure to place your content on one server and your database on another. Consider SSI for common page elements, AJAX for page refreshes and Jar compressed files that load faster into the temp.
3. Avoid background music files and if it is very necessary to use them then use highly compressed music file formats. Avoid having much stuff on your website loading from other websites and reduce the number of HTTP requests.
4. Adding a slash at the end of a link like domain.com/contact informs the server that this is a directory page and it does not have to waste time working out what kind of file exists at that address.
5. Using fewer redirects, Iframes, PhP and database queries also helps reduce website loading time.
If you have followed the above website weight loss programme and made your website design slim and trim, you will be thrilled every time you see its performance. Remember that quality websites offer a lot of fresh content. When you add new pages, do not forget to apply the above tips to reduce website load time.
Page 3 of 3 :: First | Last :: Prev | 1 2 3 | Next
|