With more than 72 million WordPress sites on the Web (and counting!), it’s safe to say that this content management system (CMS) is one of the world’s most popular site design platforms. And because it’s so ubiquitous and user-friendly, WordPress attracts not only accolades, but expectations, from people looking to incorporate it into their websites. The software itself is so intuitive and responsive that many of its adherents want the sites they create using it to share those traits; however, like any other application, WordPress has its limits as well as its perks.
If you use WordPress to host your site, you might share a complaint common with other WordPress users: your site is too slow. Slow to load, slow to refresh, slow to use. This can be due to a number of factors: too many or improperly-installed plug-ins; poor mobile optimization; inadequate hosting resources to meet the demands of the website; or a site that’s simply too large and cluttered with unnecessary files, media, and themes. Whatever the reason, if your site is slow, you don’t have to take it lying down.
Beyond the simple steps of removing unnecessary plug-ins and themes, modest changes to your site can help you improve performance. Replacing dedicated social media buttons with simple text or image links can improve speed (particularly on mobile devices) by reducing pings to the servers hosting those sites. You can also use a variety of tools from around the Web to test the speed of your WordPress site, optimize your database, site, and media files, and even compress your entire site to maximize speed without harming performance.
WordPress is a flexible and intuitive tool that gives you the power to create professional, compelling websites for your visitors. By taking the time to optimize your site files, reduce resource usage by unnecessary themes and plug-ins, and make the most of your multimedia, you can make sure your site is both up to snuff and up to speed.
How to Fine Tune Your WordPress site for Maximum Speed
Every website owner has at least one thing in common, no one wants to be slow. If your site doesn’t load quickly enough you can lose readers, rank, traffic and even revenue. Twenty-five percent of people leave a site if it has not loaded in four seconds and 40% leave after three seconds. Here is a look at some efficient ways to speed up your WordPress website.
Test Your Speed
First things first, find out what is slowing your site down.
Test the speed of your site with a free benchmarking service.
This will show you what is causing the slowdown and how to speed it up.
For a better understanding of your speed use more than one benchmarking service.
Here are some you can try:
Google PageSpeed Insights
Use these each time you make a change to get an idea of the effect it had on your speed.
Remove Unnecessary Plugins
For some this will be as painful as cleaning out your closet, but it’s important to remove unnecessary plugins that are slowing your site down.
The more functional the plugin, the more it slows you down.
Small and poorly coded plugins can also slow your site down.
P3Profiler is a plugin that will give you details about which plugins are slowing your site down.
An Optimised Database
Your database houses everything about your WordPress site, from spam comments to old plugin tables. Optimising your database is a relatively easy way to speed up your website, here are a few ways to get started.
Regularly clean out your spam comments.
Clean up your plugin leftovers. Even after you delete a plugin, they can leave unnecessary tables in your database.
Plugins Garbage collector is a plugin that will help you clean up the unwanted tables.
Each time you make a change, save a draft or publish an update WordPress stores each version.
This can quickly take up space in your database and slow you down.
You can configure the amount of post revisions saved, and even disable it.
To disable, set WP_POST_REVISIONS to false by pasting define( ‘WP_POST_REVISIONS’, false ); to your wp-config.php file.
To allow a certain amount of revisions, change it to define( ‘WP_POST_REVISIONS’, 3 ); replace “3” with the number of revisions you would like to allow.
You can also use the plugins Simple Revision Control and Revision Control.
WP-DBManager, WP Cleanup, and Optimize Database after Deleting Revisions are all good options for database optimisation plugins.
Content Delivery Networks
A CDN hosts a copy of your site in different places around the world so your readers are directed to a server closer to them.
This cuts the download time that your readers around the world would normally have.
According to Max CDN, with the help of a CDN a reader in England can have a response time of about 24 milliseconds to a site hosted in New York.
Without the CDN the response time would be around 350 milliseconds.
CDNs charge customers based on the amount of bandwidth they use, but it is worth it when your site is significantly faster.
Every photo on your page must be downloaded by your reader each time they open a page. This includes the photos in your website design as well as the ones in your content.
Tips to speed up image issues:
The more images you have, the longer your loading time, so minimize the number of images in your website design.
Even the little avatars on your comments make external calls.
Instead of using Gravatar or the default silhouette, set the avatars to “blank.”
Use CSS when you can
Style your header and footer with CSS rounded corners instead of a large image.
Use a slideshow to split your images up on different pages
Add this code within the content area: <!–nextpage–>
Decrease image size by more than 50% by optimizing your images.
If your program has it, always save using the “Save for Web & Devices” option.
Find a balance between image quality and size. The smaller you go, the weaker your quality.
Reduce image size by saving in the proper format.
Simple images = 8-bit PNG
Complex images = JPEG
Use a plugin like Smush.it that reduces image size by removing unnecessary bytes from the image.
Lazy load speeds up your site by only loading the images that are visible, as the reader scrolls down the images will load.
Some lazy load plugins include: Lazy Load, BJ Lazy Load and Lazy Widget Loader.
Caching is a great way to speed up your content delivery and reduce the amount of requests from your server.
By not using caching you are making multiple requests to your server and prolonging load time for your reader.
A caching plugin changes dynamic files into static HTML files, speeding up the time it takes for your page to load.
W3 Total Cache is a popular caching plugin, here is a quick guide to get you started with this plugin:
Once you install, you will have a Performance tab under Settings.
To avoid mixing settings enable the “Toggle all caching types.”
From your Performance tab go to Page Cache and check the options.
General: check all that apply
Advanced: leave section as is
Cache Preload: “Automatically prime the page cache” should be checked, fill in the number of seconds for “Update interval” and “pages per interval,” which should be no more than 10.
Your sitemap URL will be: http://www.yourwebsite.com/sitemap.xml
Purge Policy: Home page, Post page, Blog feed and rss2 (default) should all be checked.
Next, click on the Performance tab > General Settings and enable the Page Cache.
Database Cache and Object Cache should both be disabled through General Settings.
Before using any plugins or making edits yourself, make sure to back-up your database.