Archive for the ‘Design’ Category

Improve your website speed

Saturday, September 26th, 2009

The following is a list of things you can do to help improve your website loading speed.

  • Use GZip compression for CSS, Javascript etc. Check your site here.
  • Minimize your javascript. You can use JMin for this.
  • Remove ETags
  • Set Header Expires to future
  • Put scripts at the bottom of the page

GZip compression can be controlled in Apache servers using  .htaccess -

<FilesMatch “\.(html|htm)$”>
SetOutputFilter DEFLATE
</FilesMatch>

You can also remove Etags and set Header Expires in. htaccess using the following -

<ifmodule mod_expires.c>
<filesmatch “\.(ico|jpg|jpeg|png|gif|js|css|swf)$”>
ExpiresActive on
ExpiresDefault “access plus 6 hours”
FileETag none
</filesmatch>
</ifmodule>

  • Share/Bookmark