Home >CMS Tutorial >WordPress >How to reduce the number of requests in WordPress
Compared with accelerating WordPress at the php code level, optimization at the html level is more important. Because the current server configuration is good, and the PHP execution efficiency is also very high, unless you have too many WordPress plug-ins, it generally will not have much impact on the speed (basically it can be executed within 1m). The html code determines the loading speed of WordPress. The speed of browsing your blog is largely determined by this factor (under the same network environment). 80% of the time users spend loading web pages is spent on this. If you want your WordPress to run quickly, HTML-level optimization is very necessary.
Related recommendations: "WordPress Tutorial"
Here are some ways to improve loading speed:
( 1) Reduce the number of HTTP requests
(2) Use Gzip to compress web pages
(3) Put CSS at the beginning and JS at the end
(4) CSS Do not use the expression
(5) Do not write CSS and js directly into the web page, load external
(6) Reduce the number of DNS queries
(7 ) Remove redundancy in JS and CSS
(8) Reduce redirects
(9) Use domain names that will not pass cookies
The above is the detailed content of How to reduce the number of requests in WordPress. For more information, please follow other related articles on the PHP Chinese website!