Faster website leads toward low bounce rate, better user experience, and helps in SEO of the website. Speed up WordPress site to have more visitors and good business for your website. It is important to optimize your website for faster browsing from time to time. In this article, I will tell you different ways to speed up WordPress site.

Why Website Speed is important?

Website speed is really important to have a better user experience. Google always judge the website performance by websites content, speed, and the most important user experience. Research has shown that the websites that take more than 2 seconds to load have almost 47 % of the bounce rate. Online buyers are the most impatient ones they want the website to load really quick. If you are operating an e-commerce store on WordPress then speed is very important to have a profitable business.

Tools to Test Website Page Speed

Website page speed test is a good way to help make your website run fast because these tests provide guidelines to optimize your website. Nowadays everyone strives for 100/100 score in these speed tests but the most important thing is the user experience. If you follow the instruction given by the speed tests results it helps you optimize your website and achieve the maximum score. You should know that achieving the perfect score is not always possible due to some factors. There are many online tools like GTMetrix, Google Page Speed Insights, Pingdom that provide website page speed test.

GTMetrix

GTMetrix analyses the site speed by using Google PageSpeed Insights and Yslow. It gives a rating from A to F to the analyzed components. It also provides suggestions to speed up WordPress site.

Google PageSpeed Insights

Google developed PageSpeed Insights to provide guidelines, to optimize your site for the best performance and by following these guidelines you can have a faster site. It also has a tool to test the speed of the website for mobile.

Pingdom

Pingdom tells all the issues that slows down the website. This tool also compares the speed of the website with other websites. The main focus of the tool is provide proper guidance to reduce the site load speed.

18 Ways on How to Speed up WordPress site

These are the ways you can follow to speed up WordPress site.
  1. Image Optimization
  2. Minify JavaScript and CSS
  3. Eliminate Render-Blocking JavaScript and CSS in Above the Fold content
  4. Leverage Browser Caching
  5. Enable Compression
  6. Remove Unwanted Themes or Plugins
  7. WordPress Database Maintenance
  8. Keep Your WordPress Website Up to Date
  9. Enable Caching
  10. Use Minimum Post Revisions
  11. Use a Proper Theme or Framework
  12. Avoid Hosting Videos on The Website
  13. Use LazyLoad
  14. Disable Hotlinking
  15. Disable Trackback and Pingback
  16. Reduce Server Response Time
  17. Use The CDN for The Website
  18. Get a Better Hosting Service

WordPress Speed Optimization

Google considers website speed as ranking factor. Speed is very important for the user to stay on your website. If you have the speed optimization issue feel free to contact.

Image optimization

Image optimization provides the smallest file size without disturbing its dimensions, quality, format, and resolution. Images are the most downloadable content on a web page, and it also consumes a specific account of space on the website. Optimizing images saves the bandwidth and improves the performance of the website. Images can be a big issue in website speed, speed up WordPress site by optimizing images.

Minify JavaScript and CSS

Minification is the process of removing redundant or unwanted data without affecting the resource processing by the browser to improve the load time of the website. When you minify a file it removes unwanted comments, white space characters, newline characters, and unused code. Minifying these elements is important to have better speed.

Eliminate Render-Blocking JavaScript and CSS in Above the Fold content

Render blocking JavaScript and CSS in above the fold content is one of the rules provided by the Google to determine the speed of the website. Every WordPress website has a plugin and theme that add CSS and JavaScript files to the front end of the site. These scripts can block the rendering of the web page and increase the load time of the web page. Before the HTML from the page, browsers load these scripts and CSS which means the user will have to wait for the page to load. Eliminate render blocking JavaSript and CSS in above the fold content to speed up WordPress site.

Leverage Browser Caching

To properly display the web page browser has to download all the web files every time. These files include images, CSS, HTML, and JavaScript. Browser caching stores the resource files of the web page when the visitor visits the website. Browsing cache is the most important cache mechanism for the web page speed. The reason why leverage browser cache is important is that it reduces the load time of the server which leads to the reduced load time for the user.

Enable Compression

Enabling compression allows the web server to give smaller file size which leads to the faster browsing experience for the user. The web pages will load slower if you don’t enable compression. Compression is enabled with the help of the web server configuration and different servers have different instructions to enable it. This process decreases the bandwidth usage and increases the page speed. GZIP ninja compression is the best plugin for compressing the files on the website. Speed up WordPress site by enabling compression.
You can even insert the following code in .htaccess file in the site root directory to compress the files.
<IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule>

6. Remove Unwanted Themes or Plugins

Unwanted themes and plugins will add a huge amount of load on your website. It also increases the size of the backup and slows down the server resources while generating backup files. It is better to remove the extra plugins or the ones you are not using. It is just a load on your website nothing else.

7. WordPress Database Maintenance

Perform regular database maintenance to have a lean and usable database. Remove unwanted data from the database to make its size minimum and it also helps in reduction of backup size.  It’s vulnerable to gather temporary disk space and unused data from post revisions, uninstalled plugins, and other issues. So, it makes it necessary to remove unwanted themes and plugins, spam comments, old or unwanted drafts of the content, and fake users. Doing this maintenance process will reduce the size of the web files and database, and it helps in speed up WordPress database.

8. Keep Your WordPress Website Up to Date

Update your WordPress website regularly because these updates include improvements and bug fixes. These updates are always for the betterment of the website. It not only speeds up WordPress site but also improves the security issues. Update all the components of WordPress site with WordPress core update which means update themes and plugins.

9. Enable Caching

Caching data improves the user experience by storing the site on their web browser so it can be accessed quickly. But sometimes it affects the user experience by storing the copy of old errors or bugs. Enabling caching reduces the page load time of the site. Many plugins offer cache solutions, and the best ones are WP Rocket, W3 Total Cache, and WP Super Cache. Research tells that enabling cache for a website can decrease the site loading time from 2.4s to 0.9s. You can solve this problem yourself.
Access and edit .htaccess files using FTP client. Open the editor and add this code to cache files.
## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg “access plus 1 year” ExpiresByType image/jpeg “access plus 1 year” ExpiresByType image/gif “access plus 1 year” ExpiresByType image/png “access plus 1 year” ExpiresByType text/css “access plus 1 month” ExpiresByType application/pdf “access plus 1 month” ExpiresByType text/x-javascript “access plus 1 month” ExpiresByType application/x-shockwave-flash “access plus 1 month” ExpiresByType image/x-icon “access plus 1 year” ExpiresDefault “access plus 2 days” </IfModule> ## EXPIRES CACHING ##

10 .Use Minimum Post Revisions

Use minimum post revision, too many drafted posts is not good for your website. Too many drafts increase the size of the database and make your website a bit slow. Adjust post revisions accordingly if you want more post revisions, saving 2 or 3 drafts for the revisions is a good option. When you publish the post remove the old drafts from the site.

11. Use a Proper Theme or Framework

Speed up WordPress theme by using lightweight and simple themes. Advanced themes with many elements, features, and add-ons will slow down the website because theme can be a determining factor in website speed. If you are not using all the features of advanced theme migrate your theme for better speed response. The better approach is to use WordPress default theme or find the theme just for your need. That way you can make your site speed good.

12. Avoid Hosting Videos on The Website

Videos are also the issue in the web page load speed. Hosting videos on your own website is not a good idea. It consumes a lot of space and if you have a limited hosting account then this is a big issue. This also increases the size of the website and makes it harder to create back up.
Make WordPress faster by uploading a video on the video hosting sites like YouTube, Dailymotion, or Vimeo and from there you can copy the embedded link and paste it into the WordPress website, You will have a video showing on your website.

13. Use LazyLoad

Lazy load is the process where you delay the loading of the element which is not above the fold and the element is only visible when the visitor scrolls down the page. The lazy load can be activated for all type of content like images, videos, or even Disqus commenting system. It will not only speed up your WordPress site but you can also save the bandwidth of the website.

14. Disable Hotlinking

Linking image from your website on other website are known as Hotlinking. When someone visits their website it has to load images from your server, using your bandwidth and you don’t even get traffic.
Stop hotlinking to speed up WordPress site, simply add the code to the .htaccess files and replace domain.com with your domain name.
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)domain.com/.*$ [NC] RewriteRule\.(gif|jpg|jpeg|bmp|zip|rar|mp3|flv|swf|xml|php|png|css|pdf)$ — [F]

15. Disable Trackback and Pingback

Whenever your website or blog receives a link, trackback and pingback alert you about it. These are the two core components of WordPress. These components are useful, but these days almost everyone uses Google webmaster tool and other services like that which also notify about these links. Pingback and trackback can also increase the load on your server resources.
To speed up WordPress site you need to disable pingback and trackback in: WP-Admin > Settings > Discussion In discussion just deselect ” Allow link notifications from other blogs (pingback and trackback).”

16. Reduce Server Response Time

The time in which HTML document or files of a website loads from a server so that the user can start browsing the page is known as server response time. The HTML files take a long time to load without good response time. Response time is very important in a website page speed. The user will bounce back if the response time is not good. No matter how much your website is optimized if the response time is not good then the page will take longer to load. Use optimized WordPress hosting to reduce the server response time to speed up WordPress site.

17. Use The CDN for The Website

The CDN or Content Delivery Network reduces the slow server response by hosting static files of the website on several servers at once across the globe. Because the visitors visiting your site belongs to different locations in the world. The main focus of the CDN is to deliver the web page to the user from nearest possible location. Improve website speed by using CDN, there are very good services available these days, like MaxCDN, Cloudflare, and Cloudfront.

18. Get a Better Hosting Server

Choose hosting server wisely because if the hosting is not good, then your website is no good. I mean bad hosting servers have a longer response time this leads to slow page load speed. Invest in a proper hosting service, don’t be a victim of slow server response.
There are three type of hosting servers.
Shared hosting – This type of hosting server host many websites. This server is good for small websites where number of visitors are limited. VPS or Virtual private server – This hosting server caters few websites on the same server. Companies use type of server to host their multiple sites. Dedicated server – Dedicated servers host a single website for the best performance. This server is used by corporate or e-commerce websites which have loads of visitor on their website daily.
A2Hosting, SiteGround, and WP Engine are one of the best hosting servers.

Important Note!

If you optimize all these factors and still have a slow website this means your server is not good. Sometimes shared servers make your websites slow because of their response time. Mostly shared servers use simple hard disk instead of SSD, SSD disk tends to load data faster than the simple hard disk. Simply migrate your WordPress website to the best hosting like A2hosting. I personally use this hosting service, it is highly recommended. I am not recommending this service because I use it, I recommend it because they provide best environment for the website.

Speed Up WordPress site for Mobile

Don’t forget to speed up your WordPress site for mobile. Most of the visitors use mobile for the web browsing, and the mobile user is very impatient. Optimize your website for mobile according to above-mentioned methods. Also, test your site on 3G connection for mobile because 3G is slow, so you need to make your website as fast as you can. On 3G the average load time for mobile websites is 19s. You can test your website for mobile on Google PageSpeed Insight.
Slow websites are bad for business, especially for e-commerce business. Many users buy online through mobile phones, and if the website is not fast enough, they bounce back which decreases the sales for e-commerce business.

Conclusion

The biggest advantage of the fast website is to have more visitors. User experience is very important for both, good business and ranking in search engine. For the user experience site load speed is very important. Speed Up WordPress site for both desktop and mobile. In this article, I have discussed many ways to speed up WordPress website. I hope this will help you in speed optimization.

WordPress Speed Optimization

Google considers website speed as ranking factor. Speed is very important for the user to stay on your website. If you have the speed optimization issue feel free to contact.