PHP code optimization

I'm just wondering what is the best way to optimize PHP code. Is there a way to compress PHP files or remove all white spaces to improve performance. Any ways to improve performance in PHP files other than how you write functions?

+5
source share
1 answer

If you use Apache, you can use eAccelerator , which will cache the compiled and optimized bytecode generated by the PHP parser, effectively removing the parsing step after the first hit on each script. On my Wordpress install blog, this half (!) Of the loading time of each page.

script, : , , - , script , .

+9

All Articles