Home >CMS Tutorial >DEDECMS >How to speed up dedecms generation speed
How to speed up dedecms generation?
dedecms It takes 10 minutes to update the HTML of a full-site article in the background of the website. For websites with a large amount of data, it may even take half a day or more. How to make DreamWeaver generate HTML pages faster? The following method Maybe it can help you
Recommended study:梦Weavercms
Most websites built with Dreamweaver have to wait 10 minutes to update the HTML of a full-site article in the background. Websites with a large amount of data may even take half a day or even longer! So how to speed up the generation of HTML pages in the Dreamweaver backend is what webmasters all hope to pursue. Next, Xiaocai will talk about how to make Dreamweaver generate html pages faster:
1. Delete the "related articles", "hot articles" and "recommended articles" in the article template. , use other methods, such as: shtml, js introduction
2. Replace the template path, php attachment path, etc. expressed by markers in the Dream Weaver template with absolute URLs (to reduce the number of markers, I have seen some The human template has more than 60 such tags)
In this way, using the P4 server, it is basically possible to generate 70% to 100,000 articles per hour (the data volume is more than 100,000)
The generation speed of the DreamWeaver front-end HTML web page has the greatest relationship with the DreamWeaver template. Therefore, we can fundamentally solve the problem of DreamWeaver's slow web page generation by reducing unnecessary template tag calls!
The above is the detailed content of How to speed up dedecms generation speed. For more information, please follow other related articles on the PHP Chinese website!