Skillfully using five strokes to elevate discuz! X Run Speed

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

discuz! X since its birth has been controversial, whether it is positive or side, it was sing launched, then, it has his advantages, and discuz as our webmaster operations in the process of one of the essential procedures, its overall optimization is very people concerned.

discuz! x uses database applications, therefore, when the size of the database, the number of posts, the number of members, these factors will affect the speed of the program's retrieval, especially when the impact of the forum, the problem is even more prominent, although, sing to Discuz for a higher pursuit, but, In addition to the number of posts and online factors, we can also try to start from the following aspects of optimization discuz! X:

1, modify the configuration information in the config.inc.php, the config.inc.php in the value of the $tplrefresh set 0 or increase (maximum 9), this is an expert parameter, related to the template refresh time check, if you do not fully understand the principle, do not modify;

2, the System optimization configuration, in the System Setup General options, open discuz GIZP compression, open this gzip compression, in support of gzip compression PHP system can increase the number of times the page open, so the speed of access is also accelerated.

3, the regular optimization of the data table, this is for a code and database of the forum, it is very important to optimize the database, repair the database table, backup database, can improve the database table related functions, improve the speed of access, the frequency of optimization does not need to be too high, such as once a week or once every three days, are OK, Periodically optimize the database to remove some redundant data, and then improve the speed;

4, shut down the system unnecessary settings, such as the statistical settings of the Forum, and so on, the Forum statistics itself involved in many systems, code aspects of the call, frequent calls to the database will undoubtedly increase the pressure on the database, then, and then caused the entire page access speed is slow, for some unnecessary settings, then, Try not to open it.

5, the time to buy space, as far as possible to choose the space with Zend Optimizer, we all know Zend Optimizer is an accelerator, it exists, can improve the speed of PHP code to some extent, a friend asked how to know whether to support Zend, When buying increases, look at their host solution, such as Hostease hosts in their host program will indicate whether or not to support some programs, the software can greatly improve the discuz! Operating efficiency.

Discuz efficiency itself can be said to be quite high, the collation itself at the same time, we are in the relevant optimization, then, presumably our site will be in the rankings, speed upgrade has a great improvement, these details of improvements, the user experience is also very good.

Original article reproduced please specify: http://www.zzbaike.com/wiki/discuz

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.