Close Menu
Infoceptor
  • Business
  • Finance
  • Technology
  • Health
  • Life
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot
Flywheel Logo

Flywheel review in 2023

June 8, 2023
Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Facebook X (Twitter) Instagram
Infoceptor
  • Business
    This guide will show you how to determine the value of your business using different business valuation methods.

    How to value you business – The ultimate guide for 2023

    May 9, 2024
    Have you ever thought of starting your own laundry service? Find out how with this easy guide.

    How to start a laundry service company in 2023

    May 5, 2024
    Learn about the best online payment solutions available to you. Check out what’s available, learn their pros and cons, and choose the one that best fits your needs.

    The 15 best online payment solutions in 2023

    April 27, 2024
    Learn how to create powerful backlinks for your website and increase your site's search engine ranking.

    How to build backlinks to your website

    April 25, 2024
    In this beginner's guide, we will show you the steps involved in creating a mobile app.

    Beginner’s guide on how to develop a mobile app

    April 24, 2024
  • Finance
    Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

    Do you want to build wealth? Here are some ways to grow your money

    May 18, 2024
    Want to know your tax bracket? Check out our article for an overview of the different brackets and what you can expect to pay in 2022.

    Understanding IRS tax brackets – here’s what you’ll pay in 2023

    May 14, 2024
    This article will cover the best electric vehicle battery stocks to buy and invest in.

    The 10 best EV battery stocks to buy in 2023

    May 9, 2024
    The 10 most active penny stocks to watch this year is a list of the most active penny stocks ranked by total volume.

    The 10 most active penny stocks to watch in 2023

    May 8, 2024
    These electric car stocks are making a lot of money and you should consider adding them to your portfolio.

    The best electric car stocks to buy in 2023

    May 8, 2024
  • Technology
    Flywheel Logo

    Flywheel review in 2023

    June 8, 2023
    This article provides a list of the top iPhone models available today. Each model is reviewed based on features, specifications, performance, design and price point.

    Top iPhone models we’ve tested and you should get

    May 17, 2024
    Find out everything you need to know about the Apple Airpods Pro, including their price, features and if they're worth buying.

    Are Apple AirPods Pro a great choice in 2023?

    May 17, 2024
    To help you find the best responsive WordPress themes, we analyzed more than 100 themes and found those that are currently trending.

    The best responsive WordPress themes in 2023

    May 16, 2024
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
  • Health
  • Life
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
    Water bottles are a great way to stay hydrated. This article is dedicated to the most popular water bottles of the year!

    The best water bottles of 2023

    May 10, 2024
    Learn 30 weird and fun facts that will make you question everything.

    30 weird and fun facts that will make you question everything

    May 10, 2024
    Find out which cities in the US are the best for quality of life by checking out this article.

    20 best cities for quality of life in the USA

    May 7, 2024
    There are many ways to print your designs on t-shirts. Check out our list of the best printing services that offer top-notch quality at affordable prices.

    The 10 best T-shirt printing services of 2023

    May 6, 2024
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel
Facebook X (Twitter) Instagram
Trending
  • Flywheel review in 2023
  • Canada: Traveling restrictions and what you need to know before you go
  • Spain: Traveling restrictions and what you need to know before you go
  • Do you want to build wealth? Here are some ways to grow your money
  • Our in-depth review of the Always Pan
  • Top iPhone models we’ve tested and you should get
  • Are Apple AirPods Pro a great choice in 2023?
  • The best shower heads of 2023
Infoceptor
Home»Technology»WordPress»How to optimize WordPress for better performance
WordPress

How to optimize WordPress for better performance

Matthew DrummondBy Matthew DrummondSeptember 7, 202313 Mins Read
Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
How to optimize WordPress website performance
How to optimize WordPress website performance
Share
Facebook Twitter LinkedIn

WordPress is amazing an amazing App. It started off as a simple blogging platform and turned into the world’s most used Content Management System, with over 10,000 themes and thousands of plugins extending its functionality.

With that kind of flexibility comes certain issues, namely, WordPress can become slower the more you try and expand its functionality. But, there are ways to improve performance and optimize WordPress.

Here’s our step by step guide on how to improve the performance of your WordPress website.

Step 1. Measure speed

Google PageSpeed service is an exceptional tool that helps you measure your WordPress website’s performance and receive precise, definite feedback on how to make improvements.

Google Pagespeed
Google Pagespeed

Ideally, your website should load between 2 and 5 seconds. We won’t go in-depth on Google PageSpeed since it’s a complex service; however, here’s a quick breakdown of each section it shows:

  1. Core Web Vitals Assessment – Google’s Core Web Vitals are a collection of metrics that measure how well a page performs in key areas of the user experience. The results for a given URL are displayed in a three-way status measure (Poor, Needs Improvement, and Good). The performance metrics are derived from real-world user input. You can read more about it here.
  2. Diagnose performance issues – The entire test allows you to track the performance of your website in performance, accessibility, and SEO terms. The performance section shows speed tests related to the network, server, and other measures. Data in the opportunities section provides suggestions to improve your page speed, and the data in the diagnostics section shows the exact issues you must deal with.
  3. Accessibility – This section shows information on how to improve the accessibility of your website further.
  4. Best Practices – These suggestions allow you to fix the general errors with your website and ensure everything is running smoothly.
  5. SEO – This section contains tips on how to improve the SEO of your website.

Additionally, you can use these third-party services to compare results with the PageSpeed tool:

Yslow

Web Page Test

Pingdom

Step 2. WordPress

Updates

WordPress is an open-source project, so it’s updated frequently. These updates introduce new features and fix bugs, issues, memory leaks, etc. This is why it’s essential always to keep your WordPress and its plugins and themes up to date. Not doing that may make your website vulnerable, slow, and unreliable.

Plugins

Having a lot of unnecessary or outdated plugins is likely the most common cause of a sluggish website. Poorly coded plugins will load a lot of bloat not needed for your website, which slows it down tremendously.

Here are some quick guidelines to follow:

  • Deactivate and delete any unnecessary plugins.
  • Turn off settings you don’t utilize in your plugins.
  • Never duplicate functionality with plugins (for example, don’t use two plugins for the same SEO features).
  • Run a speed test before and after installing a new plugin to see how it will affect your site speed.
  • Make sure only to use popular plugins. You can see if the plugin is compatible with your version of WordPress when you go to install it.

Here’s a list of some plugins known to cause site speed problems when running our tests:

  1. AddThis
  2. Social Discussions
  3. Socialable
  4. Similar Posts
  5. All-In-One Event Calendar
  6. Backup Buddy
  7. WPML
  8. Yet Another Related Post Plugin
  9. Beaver Builder
  10. Better WordPress Google XML Sitemaps
  11. Constant Contact for WordPress
  12. Sharebar
  13. ShareThis
  14. Share Buttons by AddToAny
  15. Share Buttons by E-MAILiT
  16. Contact Form 7
  17. Contextual Related Posts
  18. Essential Grid
  19. Facebook Chat
  20. Google Analytics
  21. Jetpack
  22. NextGEN Gallery
  23. Really Simple Share
  24. Reveal IDs
  25. Revolution Slider
  26. ShareThis
  27. WP Facebook Like Plugin
  28. WP Social Bookmarking Lite
  29. WP Social Share
  30. Tribulent Slideshow Gallery
  31. Ultimate Social Media & Share
  32. VaultPress
  33. WooCommerce Customer History
  34. WordPress Facebook
  35. WordPress Related Posts
  36. WordPress Popular Posts
  37. WordPress Social Ring
  38. WP Bakery (formerly Visual Composer)

You can also use GTMetrix‘s Waterfall view to find slow plugins by hovering your mouse cursor over the entries.

Themes

Once you have followed our advice on plugins, the next thing to look at is the theme you’re using. Same as with plugins: delete inactive themes and only use themes regularly updated by the theme author.

Note that most beautiful and complex themes are poorly coded and contain many elements that can slow down your website. It’s usually better to go with a more straightforward theme that doesn’t have unnecessary features or complicated layouts, as you can always build those features using quality WordPress plugins.

If you’re unsure how to perform these steps or need help with your website, check out Skystra WordPress Hosting, as we had positive experiences with their support staff in our WordPress hosting review for 2023.

Step 3. Optimization

Background processes

Scheduled posts and updates won’t slow down your website, but it is essential to keep an eye on the backup plugin you use and search engine crawlers. Make sure your backup plugin only runs during low-traffic times on your website, and adjust daily backup to a couple of days per week if you don’t post new content daily.

For search engine crawlers, make sure to often check crawl reports in Google Search Console, as crawls that hit an error can cause a slowdown.

Excerpts

WordPress shows the full content of the article/post by default, and it can slow down your homepage and archive pages. We recommend you enable only excerpts on your archive pages to speed up the loading times. You can do that from the Settings > Reading section by selecting “For each article in a feed, show: Summary” instead of the “Full Text” option.

Comments

It’s fantastic if you have tons of comments on your posts, but comments do affect the loading speed of those posts. It’s recommended to split comments into multiple pages by going to Settings > Discussion section and enabling the “Break comments into pages” option.

We also recommend disabling Gravatars, especially if you have a lot of comments, as they will take a long time to load. There are a couple of options you can use:

  • Host Gravatars locally on your server using the WP User Avatar plugin
  • Set the default Gravatar to blank
  • Disable Gravatars outright
  • Limit the Gravatar images to a small dimension

Audio and video files

WordPress automatically displays uploaded video and audio files in an HTML5 player, but playing these will utilize much bandwidth. We recommend uploading your audio or video files to Youtube, Vimeo, or SoundCloud and then simply embedding them on your website. Since WordPress has a built-in embed feature – it will save both server resources and your bandwidth.

Pages

Use Google Analytics to find slow pages and recommendations for them from the left-hand menu > Behavior > Site Speed > Speed Suggestions:

Disable WP-cron

Using a system cron-job service will always improve performance over WordPress cron (WP-Cron), so you might also consider disabling that.

Step 4. Caching and compression

Caching

Utilizing caching mechanisms is the simplest and fastest way to achieve results. For example, plugins like W3 Total Cache or WP Super Cache are super easy to install, and their purpose is to cache your WordPress website posts and pages as static files.

These static files get served to your users, reducing the processing load on the server. Caching can improve performance several hundred times over for reasonably static pages.

Compression

Websites load faster when the code they use is compressed, and the difference between the loading time of compressed and uncompressed code can be as much as 300%.

Gzip compression works with almost all modern browsers, and you can enable it using a WordPress plugin. Using a plugin reduces the chances of an error when changing the code, so you can consider using WPO Tweaks or W3 Total Cache plugins, which can do this automatically.

If you want to enable this manually, please check the below examples.

Apache

Ensure that the mod_filter module is loaded in Apache on your server, and paste the following code to the websites .htaccess file:

<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 (only needed for really old browsers)   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>

NGINX

For NGINX, add the following code to your nginx.conf file:

gzip on; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_vary on; gzip_types text/plain text/css text/javascript image/svg+xml image/x-icon application/javascript application/x-javascript;

Images

Non-optimized images are the most frequent cause of speed issues on a website. You should always use photo editing software to optimize your images before uploading them to your site.

There are two most common image formats used for web practices:

JPEG – Compressed file format which reduces both size and image quality

PNG – Uncompressed file format which has high quality but a larger file size.

A general rule of thumb on the usage of these is:

  • Use JPEG if the image has a lot of various colors
  • Use PNG if you need a transparent image
  • Avoid using irrelevant images on your site.
  • Make sure all images on your website are optimized. Plugins like Smush.it and WP Smush.it can help with this tremendously.

Make sure to resize large images and scale them properly using this table as a reference:

  • Slider images: 1903(w) x 400(h)
  • Carousel images: 115(h)
  • Widget images: 414(w)
  • Fullwidth blog post images: 680(w)
  • Featured images: 250(w) x 250(h)

Fonts

If you’re using Google Fonts, you may see errors in page speed tests related to cache validators. To fix this and improve performance, download the OMGF plugin, which allows you to host Google Fonts locally on your server and save resources.

CDN

A Content Delivery Network delivers your website content to people more efficiently and swiftly based on the visitor’s geographical location. CDN consists of servers that are located in different regions around the world to improve content delivery for every geolocation.

From our experience – we recommend using Cloudflare as it’s one of the biggest CDN providers on the web and works well with WordPress.

Step 5. Advanced optimization tips

WordPress database

If your website is up for a while now, your database probably contains a lot of information that is not needed anymore. You can clean that information by using a WP-Sweep plugin and improve the performance of your site. This plugin lets you clean revisions, unused tags, deleted posts, etc.

WordPress heartbeat

The WordPress heartbeat API shows real-time plugin notifications. It also notifies you when another user is editing the same post as you. This can cause sluggishness and consumes quite a bit of server resources. We recommend using the Heartbeat Control plugin to disable this behavior and to save on server resources.

External HTTP requests

WordPress plugins and themes load many files from other websites/URLs, such as scripts, images, or stylesheets. Lots of these are optimized to load quickly, but if you have a ton of these requests, it could slow down your website quite a bit. To reduce the number of external HTTP requests, we recommend using a Merge + Minify + Refresh plugin, which will merge all CSS and scripts into groups and then minifies them for better performance.

Additionally, you can use this list of common domains to pre-fetch with the Pre* Party Resource Hints plugin to save on the load time.

Limit posts revisions

Some plugins don’t work well with WordPress revisions, especially if you have many. If it doesn’t exclude revisions, each search through them can potentially slow down your website.

To limit the number of available revisions for each article, insert the following code to your wp-config.php file:

define( 'WP_POST_REVISIONS', 4 );

This particular code will limit WordPress to saving only four revisions per each post or article and remove older ones automatically.

Pingbacks and trackbacks

Pingbacks and trackbacks are no longer used much for SEO; you can disable them in Settings -> Discussion under Discussion Settings:

Hotlinking

Having good content on your website will likely draw attention, and it’s possible to have someone ‘steal’ it from you. One way to steal is through hotlinking, which means they link your images directly from URLs on your website (and server), which means you’ll end up paying for bandwidth instead of them.

To prevent hotlinking, add the following code to your website .htaccess file:

#prevent hotlinking RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC] RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L] 

NOTE: Make sure to replace yourdomain.com URL with your domain name.

Long posts

If you have a lot of long posts – this is great for search engines, but it affects loading times on your website. Consider splitting long posts into pages to prevent this from happening. Since WordPress has this functionality built-in, you can use the following tag in your article where you want to split it into the next page:

<!––nextpage––>

Lazy loading

If you use a lot of videos, images, galleries, etc., on your website – you could profit from lazy loading. Lazy loading will only display content on the viewers’ screen instead of loading all the assets simultaneously and improve page loading time.

We recommend Lazy Load by WP Rocket plugin, which you can use to lazy load images, iframes, videos, etc.

SSL

Ensure that you have no mixed content errors (where you have both HTTP:// and HTTPS:// URLs in your database) and that an active SSL is running on your domain and WordPress installation.

To fix any HTTP links, we recommend using the Better Search Replace plugin to update all URLs in your database to update the links to HTTPS URLs.

Bad bots

Using the Block Bad Queries plugin can help you automatically block bad known bots and quickly reduce CPU load from bad bots.

In addition, you can go to Google Search Console and in Site Settings, reduce the crawl rate to limit the amount of Google requests to your website. You can also do this for Bing using the crawl control settings option.

Use the comment section to share which tips helped improve your WordPress website’s performance or share new ones!

People also viewed:

The 3 best ways to speed up your WordPress website How to add cache to your WordPress website How to speed up WordPress by disabling WP-cron How to set up forums on WordPress using the bbPress plugin How to clone WordPress pages and posts
fast optimize performance speed WordPress
Share. Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Previous ArticleHow to connect Salesforce to your WordPress website
Next Article How to display your Facebook feed in WordPress
Matthew Drummond

Matthew is a Infoceptor Technology writer. Having worked as a systems administrator for over 15 years gives him unique insight into the inner works of technology. Ultimately his passion for writing brought him to share his technical expertise with the world.

Related Stories

How to speed up WordPress by disabling WP-cron

February 16, 2024

How to set up forums on WordPress using the bbPress plugin

February 6, 2024

The 3 best ways to speed up your WordPress website

September 7, 2023

How to add cache to your WordPress website

September 7, 2023

Comments are closed.

Connect
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • LinkedIn
  • Reddit
  • TikTok
Don't Miss
Flywheel Logo Reviews

Flywheel review in 2023

By Matthew Drummond

Flywheel is a fast-growing web host that offers high-performance WordPress hosting for agencies, designers, and developers.

Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

Do you want to build wealth? Here are some ways to grow your money

May 18, 2024
  • Auto
    • Auto Reviews
    • Electric
    • Insurance
  • Business
    • Company
    • Government
  • Entertainment
    • Movies
    • Music
  • Finance
    • Credit Cards
    • Crypto
    • Market
    • Personal Finance
  • Food
    • Coffee
    • Drinks
    • Holidays
  • Health
  • Beauty
  • Fitness
  • Food
  • Medical
  • Home
  • Backyard
  • Bathroom
  • Bedroom
  • Cleaning
  • Furniture
  • Home Office
  • Kitchen
  • Life
  • Astrology
  • Family
  • Fashion
  • Outdoors
  • Personal
  • Pets
  • Apple
  • Audio
  • Domain Names
  • Gaming
  • Google
  • Power
  • Reviews
  • Samsung
  • Destinations
  • Gear
  • Services
  • Space
  • Tourism
  • Technology
  • Tutorials
  • Web Hosting
  • WiFi
  • WordPress
  • Travel
  • Shopping
  • Sports
  • Work
  • Stocks
  • Television
  • Web Hosting
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn Reddit TikTok
© 2026 Infoceptor

Type above and press Enter to search. Press Esc to cancel.