View Single Post
  #11 (permalink)  
Old 08-09-2007, 03:10 AM
ramkumaraol ramkumaraol is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 98
ramkumaraol is on a distinguished road
Default Re: Site Performance - Tips & Tricks

Reduce your stylesheet’s size

Making your stylesheet(the style.css file found in your current theme’s folder) the smallest size possible will allow you to gain considerable loading speed since it’s loaded everytime.

The simplest way is remove the comments and coding things on the same line instead of several lines(left to right fashion instead of top to down one).


body {font: 62.5% Verdana, Arial, Sans-Serif; color: #444;background: text-align: center; margin: 0 0 30px;}

instead of


body {
font: 62.5% Verdana, Arial, Sans-Serif;
color: #444;
background: #EDEDED;
text-align: center;
margin: 0 0 30px;
}
Reply With Quote