Re: Optimized PHP
| From: | Robert Cummings | Date: | Wed, 03 Oct 2007 14:03:56 +0000 |
| Subject: | Re: Optimized PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262680@lists.php.net to get a copy of this message | ||
On Wed, 2007-10-03 at 09:52 -0400, Nathan Nobbe wrote:
>
> one nice trick you can easily implement is to compress your code before
> pushing it to production.
> the php cli exposes a method for stripping out the whitespace and comments.
>
> php -w
Do it right, use a compile cache like Eaccelerator or APC.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................