Get started today!◦ Full contract buyout ◦ Up to $1,000 credit ◦ Free migrations
Chat with us
Home » What is WordPress Guide » WordPress Plugin » Using the Query Monitor Plugin for a WordPress site

Using the Query Monitor Plugin for a WordPress site

In this article, we will learn what the Query Monitor plugin is and how it can help us debug WordPress to improve website performance.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

Overview of the WordPress Query Monitor plugin and how it works

Query Monitor plugin installation

How to debug and resolve WordPress Issues

WordPress Query Monitor does not have its own plugin interface, but instead it displays the important website performance information within the Admin Toolbar Menu.
Once you click on the block in the Admin Toolbar Menu containing the web page performance information, the Query Monitor will open as a window overlay on the page that you are currently on. You can drag the window to resize it, so you have the plugin’s interface take the whole screen or choose between the vertical and horizontal layout.

 

Overview tab

The first tab you will see is Overview. The Overview page shows a more detailed summary of the web page performance, for example, you can see if the peak memory usage value reached the memory limits configured.

 

PHP Errors tab

PHP warning messages are generally not critical, but can cause the website to load incorrectly and increase page load time. Its best to investigate all warnings right away as they indicate that the code is not working as expected.

 

Queries tab

The Queries tab submenus that include Duplicate Queries, Queries by Caller, and Queries by Component will provide a lot of additional useful information.

 

Object Cache tab

The Object Cache tab will display more information about the object cache solution powering your site. Using object cache can greatly improve your WordPress website performance by caching the results of database queries and some other operations. By default, WordPress does not present persistent object cache, but Nexcess allows you to leverage Redis caching options by having the Redis Object Cache plugin installed.

 

Logs tab

Request tab

The Request manu shows the query variables for the current HTTP request, including the query string and variables. The Request and Response Headers tabs will show you more information on the request sent and the server response that followed.

 

Scripts tab

The Scripts menu is extremely helpful when debugging various issues as it will display the list of scripts that were loaded. Scripts can substantially increase the page load size. The Query Monitor plugin does not show you how much time each took to load, which is important to keep in mind. You will need to conduct a web speed test to obtain more information.

 

Styles tab

The Styles menu is very similar to the Scripts tab. It will display the same information about the WordPress CSS files that were loaded to compose the web page that is currently open. You can learn how different extensions impact your website performance and reduce the number of requests sent to the server during the content rendering process.

HTTP API Calls tab

The HTTP API Calls page shows the list of server-side HTTP requests that were sent during the current page load. The information presented includes the request details, including status codes. A specific plugin or theme can trigger excessive HTTP API calls which will increase the page loading time and negatively affect the overall performance.

Environment tab

  • PHP. The version and the PHP handler in use and the main PHP configuration limits, including the memory limit and max execution time.
  • Database Server. The server version and the PHP database driver in use, as well as MySQL/MariaDB settings that define how much data it can store in memory, and how many connections are allowed.
  • WordPress. The WordPress version and some key WordPress constants.
  • Server. General system information and the web server running.
The Environments page displays the detailed information about your WordPress website hosting environment.

Getting started

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Additional resources

What is a WordPress plugin? →

Examples, how to use them, and more

Diagnosing WordPress errors on your site →

Common mistakes and first steps to figuring out what’s wrong

A complete guide to WordPress shortcodes →

Shortcodes make life easier. Learn how to get started!