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

Essential Tool for Optimizing WordPress Performance: Query Monitor

UseWordPress to build a websiteMost friends will encounter situations where their website opens very slowly, and they don't know why the WordPress site is slow to load. So they blame WordPress, thinking it's too bloated, and switch to lightweight blog systems like Typecho. Therefore, Naiba here recommends aWordPress 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 such as debugging Ajax calls, REST API calls, and user capability checks. It includes the ability to narrow down most of its output via plugins or themes, 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 displaying 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 complete debugging information in a panel. The above is the official introduction from Query Monitor, which might be a bit unclear for ordinary users. So below, Naiba will demonstrate how to use Query Monitor.

Using Query Monitor

First, from theWordPressbackend, install and activate Query Monitor.Query Monitor使用说明After activation, you will see an indicator bar like the one in the image below added to the top admin bar.Query Monitor使用说明If the indicator bar is red, it indicates there are errors on the webpage. Hover your mouse over it, and the error content will be highlighted in red. Click into it to view details, and you can troubleshoot where the problem lies.Query Monitor使用说明Of course, judging this error still requires some discernment. For example, Naiba's error report seems to be related to image editing, because Naiba has installed theUpyunplugin, which has taken over the media library function. So the error is likely from here and can be ignored.Query Monitor使用说明Typically, when weWordPress optimizationoptimize WordPress, we use caching plugins for page caching, then optimize and cache database queries. In the Query Monitor Overview interface, you can see the number of database queries.Query Monitor使用说明Naiba's page made a total of 9 database queries. From the details page, you can roughly see which queries can be eliminated. Just delete the corresponding plugins.Query Monitor使用说明Of course, for novice users, WordPress optimization might still be somewhat difficult. Naiba gives you the most direct advice: try to choose simple themes, don't add too many features, and don't install plugins unless necessary. Then install WP Super Cache, set up Memcached caching on the server, and addUpyun's free CDN to accelerate images. Basically, no further optimization is needed; it will already be very fast.

Query Monitor Download Link

If you are using a foreign server, you can directly search for Query Monitor in the WordPress backend plugin library to install it. If you are using a domestic server, you can download it via the link below and upload it to the website backend for installation.Official Download Cloud Storage Download

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

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the 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 QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: