Improve Your Website Speed Instantly!

Website performance is much talked topic these days but still there are a surprisingly large number of webdevelopers that neglect the impact of site loading time for their SEO, visitor experience and most importantly sales.

Here is a quick tip to improve your website performance score (as

measured by YSlow). It takes literally less then 5 minutes to implement.

*Please note… If you are not confident editing your .htaccess file, contact me here and I will be happy to do it for you

Add these lines to your .htaccess file:

<FilesMatch “\.(ico|jpg|jpeg|png|gif|js|css|swf)$”>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault “access plus 30 days”
</IfModule>
Header unset ETag
FileETag None
</FilesMatch>

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/x-javascript application/x-httpd-php application/rss+xml application/atom_xml text/javascript

What this does is adds far expires header (make sure mod_expires is loaded in your apache config if you have problems) to your static content (images, js, css), turns off ETag headers and compresses files sent to the browser.

This will improve your score by at least a full grade, if not more.

Of course, improving YSlow grade will be just a side effect – your  site will feel much quicker for browsing too.

Related posts:

  1. 7 Benefits of Using WordPress For Your Website

2 Responses to “Improve Your Website Speed Instantly!”

Read below or add a comment...

  1. Hi Steve
    I have actually 5 sites and I do do source, but I am not sure about this, would you install them for me, and please explain exactly what it does and other tricks to improve traffic I would appreciate.
    Thanks
    Richard

Leave A Comment...

*