Optimization of multi-user blog woblog for running speed

woblog is modified and optimized based on wordpress. Some people on the Internet say that wordpress runs slowly, so how does woblog run? What optimizations has woblog made in this regard? This article mainly talks about this aspect.

For optimization, there are mainly the following aspects:

1. It is recommended to start opcache, opcache is an extension of php, which can greatly increase the access speed after startup;

2. A virtual disk is allocated in the memory, and the script is automatically executed every time you turn on the computer. The program files on the hard disk are read to the virtual disk and run. Because it is a memory virtual disk, the access speed is much faster than that of the hard disk. Improve the access speed to a degree, and the woblog main program is not large, so it will not take up too much memory space;

3. Comment out some unused files included by default in wordpress;

4. Do not use some low-performance plug-ins. For example, because woblog needs to add several fields on the basis of the original wordpress, consider using the Advanced Custom Fields plug-in at first, because it is more convenient; but after testing, it is found that this plug-in seriously affects the access speed. So in the end, woblog did not use any plug-ins in the field expansion, and wrote the code completely by itself, which had almost no impact on performance.

Finally, after the above optimization, the access speed of woblog has basically reached an acceptable level. However, limited by the operating mechanism of wordpress (mainly various hooks, triggers, multi-language dictionaries, etc.), there is still a certain gap to achieve flying speed. However, at this stage, the access speed is over and can be granted. After all, you still enjoy so many features of wordpress that are easy to expand.

This article is an original article, please indicate the source for reproduced!