Re: Compressessed Smarty class
boots <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Markku Niskanen <[email protected]> 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 <[email protected]> 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 -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php