Home > CMS Tutorial > WordPress > body text

How to reduce the number of requests in WordPress

爱喝马黛茶的安东尼
Release: 2019-07-16 14:27:38
Original
2779 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!