How to compress PHP source code? How to compress PHP source code? Please kindly advise.
Reply to discussion (solution)
What is PHP source code compression. Encryption?
Http://hi.baidu.com/lifushuilove/blog/item/62ae38d27bb487113bf3cf64.html
Encryption or website compression using php to increase the access speed. the host is windows2003.
Most of them are JavaScript/css code compression. Php compression. You can manually remove some line breaks and comments to reduce the file size.
Of course, you can use some tools. However, you must delete the comments and then compress them. Otherwise, an error cannot be run.
Well, the problem is solved. thank you.
The number of PHP code lines is not proportional to the execution efficiency! This efficiency estimation is far less efficient than studying the code itself.
Compression is generally targeted at platforms. For example, we recommend that you enable GZIP compression for the platform, streamline multiple CSS files into one, and use image Genie technology. You can speed up browsing.
Php does not compress and does not occupy traffic. the generated html code occupies the traffic. open the gzip option in apache.
Indeed, less code does not mean high efficiency
Put your source code in a folder, right-click the menu, select and add it to the compressed package, and then compress it. isn't it OK?