XSLCache extension for PHP, originally developed by NYTimes started its second life in PECL’s repository and I am proud to announce first PECL-release.
The XSL Cache extension is a modification of PHP’s standard XSL extension that caches the parsed XSL stylesheet representation between sessions for 2.5x boost in performance for sites that repeatedly apply the same transform. API-wise it is compatible with usual XSL extension with two small exceptions:
- instead of XSLTProcessor class you should use XSLTCache class.
- importStyleshet method has another “signature”: void importStylesheet(string $path, bool $cachesheet=true);
Installation, from now on, should be as simple as “pecl install xslcache“

excellent idea!
Why not incorporate it in XSL extension of PHP?
That is a long-term goal. For now, xslcache just needed a formal release, as version from NYTimes didn't include several important patches
I'm way late on this one, but thank you so much for this. I found and was disappointed to see the NY Times version was released and untouched for three years. Glad to see it's seen some work. What exactly were the changes made from 0.6 to 0.7 and who if anybody is working on the next release?