How to Speed up the Generation of dedecms
This article mainly introduces how to speed up the generation of dedecms, the article is very detailed, has a certain reference value, interested friends must read it!
How to speed up the generation of dedecms?
Dedecms website background update a full-site article HTML will wait more than 10 minutes, a website with a large amount of data will take half a day or even longer, how to make dream weaving to generate html pages faster, the following methods may help you
Most of the websites built with dream weaving have to wait more than 10 minutes for a full-site article HTML, and for websites with a large amount of data, it will take half a day or more! So how to speed up the generation of html pages in the Weaving Dream background is what webmasters hope to pursue. Next, let's talk about how to make dream weaving html pages faster:
1. Delete the tags such as "related articles", "hot articles" and "recommended articles" in the article template and introduce them in other ways, such as shtml and js.
2. Replace all the template paths and php attachment paths indicated by tags in dream weaving templates with absolute URLs (reduce the number of tags. I have seen someone's template have more than 60 such tags).
In this way, the server using P4 can basically generate 70% to 100,000 articles in an hour (more than 100,000 data).
Dream-weaving foreground HTML web page generation speed and dream-weaving template has the greatest relationship, so, as long as we reduce unnecessary template tag calls can fundamentally solve the dream-weaving web page generation problem!
The above is all the content of how dedecms can speed up the generation speed, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!