Zend Certified Engineer

phpguru.org

Quality PHP, Javascript and C# code

Firefox 3.5

RTemplate: A PHP templating class


Update: 18th April 2009

You're probably looking for RTemplate. RTemplate is a PHP template class which generates the template once, and then caches the output. So it doesn't needlessly regenerate the page on every request. Thus, it can result in a huge performance boost, and because it uses the last modified date, never sends stale templates (ie if you update the template, the changes are reflected immediately and subsequently re-cached. It will speed up your app dramatically by eliminating the needless re-generation of your output. If you're a speed junkie then you could get more performance by using HTTP caching and your server may not even need to deal with the request.

Counter