wordpressserver

Serve your WordPress Site 10x Faster

You might be thinking to yourself, this guy is trying to sell some type of miracle snake-oil potion. How could it be so easy to speed up your WordPress site? The truth of the matter is that most of the time we don’t take advantage of many of the resources available to us. Most WordPress users are delivering uncompressed content to visitors of their sites. But did you know you can serve most of this content in a compressed fashion? It really is as easy as adding the following lines of code to the end of your .htaccess file.

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
</IfModule>

Now your site will serve compressed versions of your content and should speed up your site (as much as 10x faster). Let me know if you notice a visible difference in the render time of your site. On many of my sites, the difference is clearly visible.