🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Essential Tools for Optimizing WordPress Performance: Query Monitor

UseWordPress 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 youWordPress 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 theWordPressAdmin Dashboard.Query Monitor使用说明After activation, you will see an indicator bar like the one in the image below appear on the top admin bar.Query Monitor使用说明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.Query Monitor使用说明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 theUpyunplugin, which takes over the Media Library functionality. Therefore, the error is likely from here and can be ignored.Query Monitor使用说明Typically, when we optimizeWordPress,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.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.Query Monitor使用说明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 addYoupaiyun'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

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

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.

×
二维码

Scan to Follow