KeywordsDedecms this performance optimization caching articles
Dedecms V5.3 release, relative to the previous version, all aspects of the performance is relatively perfect, but because of versatility, it is not possible to meet the needs of all users at the same time, in the past, many people on the dedecms performance problems, so I published a article on how to optimize performance and provide final optimization results.
modifying system parameters
In Dedecms V5.3, there are several main parameters involved in generating HTML performance:
1, the core settings:
Keyword replacement (yes/NO) Use of this feature affects HTML build speed (Cfg_keyword_replace)
This parameter is open by default, it is recommended that the article is collected users do not open this option, because the collection of articles must involve automatic generation of keyword problems, so many keywords meaningless, and even garbled lead to the generation of interrupts, so it is recommended to close this parameter.
2, Performance options:
Call Cache update time (seconds, 0 means not enabled): 10000 Cfg_index_cache
Whether to enable template caching: It's cfg_tplcache.
These two parameters are quite meaningful, in Dedecms, the most performance-affecting tag is arclist, and it is important to have the template cache open, both of which address these issues.
System parameters are specifically recommended to modify the following figure:
Ii. Optimizing the Database
1, Dede_archives
This table has PRIMARY, Sortrank, Mainindex, Lastpost, four groups of indexes, in fact, because the table itself is very small, set too many indexes is not much necessary, because the DEDECMS in the program by default are in the Sortrank this field sorted, It is recommended to retain primary, Sortrank two indexes, delete Mainindex, Lastpost, the following figure:
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.