optimize site

5. Use a Content Delivery Network to Speed Up WordPress

Your website is hosted in a data center somewhere in the world. The further a visitor is from the location of your data center, the longer it takes for your web pages to load.

Content Delivery Networks (CDN) address this issue by utilizing dozens of data centers around the world. They take the heavy work away from your hosting company by hosting your images, CSS and Javascript files, and serving these files to visitors from the closest location to them.

Generally, those static resources will be served to your visitors by the server closest to them. That will ensure the heavy part of site loads as fast as possible for your users.

Popular content delivery networks include MaxCDN, Amazon CloudFront and CloudFlare. One that, MaxCDN’s really easy to setup on WordPress site

6. Enable Gzip Compression

You should serve compressed versions of your site to your visitor, as they’ll be less in size and will generally load a lot faster.

The best option is to enable Gzip compression straight from cPanel ( if your host offers you that) if you’re on a shared server. Otherwise, you can enable Gzip compression using a plugin like W3 Total Cache.

There are also a few tweaks that allow you to enable it from your .htaccess file. You can simply add this code to the beginning of your .htaccess file to enable server-level Gzip compression for a few known file types:

Gzip can also be enabled via the WordPress options page. You can find this page at www.yourwebsite.com/wp-admin/options.php. To enable Gzip, simply change the value of the Gzip field from to 1.

7. Optimize Uploaded Images

Images can help break up long pieces of text and can help your articles be shared more frequently on social media services; however they also talk up a lot of storage. Therefore, pages that contain many images can take a long time to load. There are a few ways you can optimize your uploaded images.

Most photo editing applications, such as PhotoShop, allow you to do this via the “Save for Web” option.

A good plugin to optimize images that have already been uploaded is WP Smush.it. The Wp Smush.it plugin allows you to upload images normally while it automatically optimizes them using Yahoo’s Smush.it API behind the scenes.

If you do not want to sacrifice image quality, check out Lazy Load. The plugin ensures that images are only loaded when area becomes visible to the user. This will greatly reduce page loading times.

Continue >>