Re: lang and conf synthesis
alex black <[email protected]>
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
>> Horrible, it's like a preparser. You might as well keep phing and >> builds, at least that isn't confusing as hell. I would _far_and_away_ >> prefer proper code requesting translations of a string id or an >> actual gettext-like string to that. It feels like a hack. > > :( > > Can you explain how caching php files can work then, and when the > string replacement should occur ? I wouldn't cache PHP files at all except for the normal bytecode caches liker turckMM. Instead I would focus on caching _output_ automatically all over the place. Use smarty to check if a page render is even necessary, after a bit of use on the server - it won't be. At the very least a whole chunk of the page can be cached and that saves all those string lookups. _a