Use
WordPress Website BuildingMost friends who build websites with WordPress will encounter situations where the website opens very slowly, and they don't know why the WordPress opening speed is slow. So they blame WordPress, thinking it's too bloated, and switch to lighter blog systems like Typecho. Therefore, Naiba here recommends a tool to you
WordPress Plugin: Query Monitor
Query Monitor Plugin Introduction
Query Monitor is a developer tools panel for WordPress. It supports debugging database queries, PHP errors, hooks and actions, block editor blocks, enqueued scripts and stylesheets, HTTP API calls, and more. It includes some advanced features like debugging Ajax calls, REST API calls, and user capability checks. It includes the ability to minimize most of its output via a plugin or theme, allowing you to quickly identify poorly performing plugins, themes, or functions. Query Monitor primarily focuses on presenting its information in a useful way, such as by showing aggregated database queries grouped by the plugin, theme, or function responsible for them. It adds an admin toolbar menu showing an overview of the current page, and once you select a menu item, it displays full debug information in a panel. The above is the introduction from the official Query Monitor. For ordinary users, it might seem a bit unclear, so below, Naiba will demonstrate how to use Query Monitor.
Using Query Monitor
First, install and activate Query Monitor from the
WordPressAdmin Dashboard.

After activation, you will see an indicator bar like the one in the image below appear on the top admin bar.

The indicator bar is red, indicating there are errors on the webpage. Hover your mouse over it, and the error content will be displayed in red. Click into it to view details, which will help you identify the source of the problem.

Of course, diagnosing this error requires some judgment. For example, Naiba's error report appears to be related to image editing because Naiba has installed the
Upyunplugin, which takes over the Media Library functionality. Therefore, the error is likely from here and can be ignored.

Typically, when we optimize
WordPress,we use caching plugins for page caching and optimize and cache database queries. The number of database queries can be seen in the Overview interface of Query Monitor.

Naiba's page performed a total of 9 database queries. From the details page, you can roughly identify which queries are unnecessary and remove the corresponding plugins.

Of course, for beginners, WordPress optimization might be somewhat challenging. Naiba gives you the most direct advice: choose a simple Theme, avoid adding too many features, and only install necessary plugins. Then, install WP Super Cache, set up Memcached caching on the server, and add
Youpaiyun's free CDN to accelerate images.Basically, no further optimization is needed; it will already be very fast.
Query Monitor Download Address
If you are using a foreign server, you can search for Query Monitor directly in the WordPress plugin library from the Admin Dashboard to install it. If you are using a domestic server, you can download it via the link below and upload it to the website's Admin Dashboard for installation.
Official Website Download Cloud Storage Download
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.