With the popularity of the network, the site has penetrated into every industry, but because now the cost of special line for many enterprises and individuals can not bear, so the sharing of bandwidth has become the best choice for many sites. Although the cost is reduced but a new problem is quickly emerging, that is, sharing the bandwidth of the internet is slow, and sometimes unbearable. How can make their own website quickly up, become people's concern, the author combined with hands-on practice to talk about some practical application of soft methods, hoping to be helpful to the reader.
The author uses the Linux operating system, Apache+php's website construction method.
Code optimization
Usually requires programmers to have good programming habits, to minimize the appearance of redundant code, there are many tools to do this, for the general HTML document, to reduce the redundancy of the weight loss tool, and for the PHP program is not a lot of tools, but Zend Technologies's Zend Optimizer is a great code optimization tool that can be obtained free of charge from Zend Technologies's website. Zend Optimizer is also very simple to use, as long as the downloaded zendoptimizer-1[1].0.0-php_4.0.4-linux_ Glibc21-i386.tar.gz the document, copy the zendoptimizer.so document to the/usr/local/zend/lib directory, and then modify the php.ini document, adding the following lines at the end:
http://www.bkjia.com/PHPjc/446690.html www.bkjia.com true http://www.bkjia.com/PHPjc/446690.html techarticle with the popularity of the network, the site has penetrated into every industry, but because now the cost of special line for many enterprises and individuals can not bear, so the sharing of bandwidth has become the best choice for many sites ...