Re: [SMARTY-DEV] Compressessed Smarty class

From: Date: Tue, 06 Jul 2004 23:02:46 +0000
Subject: Re: [SMARTY-DEV] Compressessed Smarty class
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2446@lists.php.net to get a copy of this message
--- Markku Niskanen <markku.niskanen@arctive.com> wrote: > >Is there any difference when using an opcode cache ? > > I cannot test that as I do not have a cache of any > sort available in my ancient P300 - my target machines > do not have any caching accelerators installed so I > stick to the same configuration in my home office. --- Markku Niskanen <markku.niskanen@arctive.com> wrote: > >Is there any difference when using an opcode cache ? > > I cannot test that as I do not have a cache of any > sort available in my ancient P300 - my target machines > do not have any caching accelerators installed so I > stick to the same configuration in my home office. Sorry--I meant that rhetorically. I guess I should have added a smiley :) A decent opcode cache should remove any concerns over whitespace and comments. Evidently, not everyone has the luxury of using such a service (but particularly with Smarty, every attempt should be made to use one, even on "lowly" machines) so there is certainly merit in squishing your code when you must resort to bare-bones PHP. In that case, I would also suggest using an appropriate white-space post-filter for your templates though it probably won't save you that much extra. xo boots

« previous php.smarty.dev (#2446) next »