WordPress is undoubtedly the best and most widely used open source cms program, but WordPress website establishment One problem is that when the article data reaches 100000 levels or above, it will become very stuck. It is difficult for ordinary personal blogs to reach this level, but some large websites or collection websites can easily reach this level.
How to solve it? Cool theme I will share the method with you today.
1. Do WordPress website establishment The 100000 level data does not have a card. First, the server should have 2 cores or more, and then the upper cache: Opcache, Memcached. Of course, there are many kinds of caches, and plug-ins are also used to solve them.
2. What's more, we are choosing WordPress Theme It is enough to try to meet the site functions WordPress Theme , it is not recommended to use a lot of functions, but it is useless for you.
For example, as an information site, there is no need to download resources WordPress Theme Because many functions are unnecessary and will affect website optimization to a certain extent, information websites use simple WordPress information themes, which not only helps website SEO, but also helps website speed,
After the site template is selected, the cache is installed. The following two PHP extensions are recommended to be installed! The focus of caching.
It can be installed directly at the pagoda panel point.
Then fit WPJAM plug-in With opcache and memcached, the cache is basically OK,
The last step is to separate static and dynamic information. The images, css and js of the site are stored in OSS. With this set of actions, the 20 data will not get stuck. The website access speed is generally between 1-2 seconds.