ZendCache enables your site to fly. The transmission efficiency of commercial websites is very important. in some e-commerce websites, the response speed of servers determines the service quality, the server load determines the transmission efficiency of commercial websites. generally, on some e-commerce websites, the server response speed determines the service quality, the load of the server determines its maximum accessible capacity to customers. Technicians always try to increase the server response speed as much as possible. ZendCache is also an excellent product developed to speed up server response. Data proves that ZendCache can increase the server response speed to more than 300%.
I. What is ZendCache?
Let's take a look at how php runs. after a php script is sent to the server, the server searches for the corresponding file from the disk, compiles the script, runs the script, and finally sends the result. The time spent consists of searching for files, opening files, reading files, and compiling files. ZendCache is a php script high-speed Cache that stores the compilation results of the php script file that has just been executed in the memory of the Web server. if someone requests this page again next time, it can be sent out quickly. This eliminates the time required for the server to compile a script every time the user requests the php file. At the same time, it does not take time to search for and read php files from the disk. Therefore, the server speed can be greatly improved.
Currently, ZendCache can only run on Linux (glibc 2.1), Solaris 2.6, FreeBSD 3.4, and 4.0. Unfortunately, it does not support Windows systems currently.
II. install and use ZendCache
Register a user on zend.com, log on to zend.com, and download http://www.zend.com/store/products/zend-cache.php at the following address. Because zendCache is a software program that requires membership dues, we can only download a trial version with a limited date available for 30 days. However, zendCache is a full-featured software package. Try it. you can experience its powerful functions. To download the trial version, select Test drive available.
The entire download involves three steps. Step 1: Download the ZendCache package and directly select the software package for the corresponding platform from "Supported Platforms. Pay attention to the applicable platform of the software, the corresponding php version, and the type of the class library.
The second step is "Request Product License", that is, to obtain authorization from zend.com. you are required to provide the Host ID of your machine, that is, the MAC address of the NIC on your computer, zend.com provides a tool for reading the host Nic address. you can download an lmutil from zend.com. z. after decompression, run it to obtain the Nic address of the computer. Execution method:
#./Lmutil lmhostid
To obtain the host ID. You can also find the MAC address of the NIC from/var/log/messages.
Enter this ID number in the form for applying for the license, select "request", and wait patiently. Zend.com will send you an email within 48 hours to notify you to download your license. After receiving the email, go to http://www.zend.com/store/pickup.php to download it. License is a file named zend_cache.dat.
...