16 Ultimate Ways To Speed Up Your WordPress Website – Page 3
Fix #5 – Enable Keep Alive– Another quick fix. HTTP Keep Alive refers to the message that is sent between the client’s machine and the Web server asking for permission to download a file. Enabling Keep Alive allows the client’s machine to download multiple files without having to repeatedly ask for permission, thus saving bandwidth.
To enable Keep Alive, simply copy and paste the code below into your .htaccess file.
Header set Connection keep-alive
Fix #6 – Enable WordPress GZIP Compression– Enabling GZIP compression will compress your pages to a much smaller GZIP file format, sometimes up to 70%-80%. This compressed version of your pages is then sent to the visitors browser which will decompress it and display the page correctly. This will speed up your website because the GZIP file is smaller as the original page.
To enable GZIP compression in WordPress you simply visit http://yourwebsite.com/wp-admin/options.php in your browser, find the GZIP compression setting and change it from 0 to 1. Use the GZIP Compression Test to check if it works.
You can also add GZIP via cPanel by simply logging into your control panel and navigating to the ‘software/services’ section. Once there you’ll see an icon labelled ‘optimize website’. Clicking on that icon will bring up a menu allowing you to compress all content, or just compress the specified MIME types. Enabling GZIP compression will compress your pages to a much smaller GZIP file format Once you’ve made your selection hit ‘update settings’ and you’re done. Use the GZIP Compression Test to check if it works.
(Note – Not all hosts offer the ability to use GZIP. If you receive an error message, i.e. 500 Error Page, your probably not going to be able to use GZIP with your host. I use StableHost as my Web Host and have no problems activating GZIP)
Fix #7 – Optimize & Compress Images– Images usually take up the majority of bandwidth on most websites. You can minimize the size of your photos and images allowing you to speed up the loading times of your pages. As I try to avoid plugins I recommend the free program Irfanview along with the RIOT plugin. In the example below you can see where the 226KB .jpg was optimized down to a 32KB .jpg file. Simply click on “File” then “Save For Web” while choosing your options.
Further, specifying image dimensions in your WordPress posts saves the browser from having to determine the sizes thereby speeding load times. Always add the width & height of your image in your media as in the example below.
<img src="http://wheresmydrink.com/mypics/uploads/myimage.jpg" alt="My Description" width="300" height="169" />
Continue Reading 16 Ultimate Ways To Speed Up Your WordPress Website