1) use cloudflare
2) put all caching possibilities needed rules to ur .htaccess, by example :
Code:
# disable the server signature- helps with preformance
ServerSignature Off
## contrôle du cache navigateur - Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 7200 seconds"
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
AddType image/x-icon .ico
ExpiresByType image/ico "access plus 1 week"
ExpiresByType image/icon "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType application/xhtml+xml "access plus 0 seconds"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\\.(ico|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>
<FilesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
<FilesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</FilesMatch>
<FilesMatch "\\.(x?html?|php)$">
Header set Cache-Control "max-age=0, private, must-revalidate"
</FilesMatch>
</IfModule>
3) i've been using GZIP for years, my compression rate is in average : 82% !!!
3 very simple solutions to dramatically improve ur page loads, and save ur server
EDIT : => check ur site using the W3C checker, u'll be surprised about how much deprecated html tag u still using !
unused CSS definitions u get => always get rid of duplicate or unused CSS, get rid of unused or unecessary JS too, use minified js versions as possible, pay attention to ur files call combinations, mainly call all csss files first, then all js, ...
this can reduce also ur bandwitch use
optimized ur css, as example , this :
Code:
legend {
margin: 5px 0;
padding: 3px 10px;
background: #2b567f;
color: #ccc;
border-radius: 7px;
width: 80%;
}
should be optimized this way :
Code:
legend{margin:5px 0;padding:3px 10px;background:#2b567f;color:#ccc;border-radius:7px;width:0%}
notice : after the final css tag, dont put the ";"before the "}"
why ? coz the interpreter will more quickly understand this css definition is about to end, the closing tag coming...
there are a tons of way to really improve our websites, on OUR sides