PHP5: precompiled XSL stylesheet

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I've a website that is built mainly with XSLT stylesheets, and it works
fine. Yet, I'm looking for a way to make things a bit faster and less
CPU consuming. I wonder if there is a way in PHP5 to compile a
stylesheet, persist it in some way, and reuse it later. I've serialized
the XSLTProcessor object after I called the importStyleSheet member
function, but I'm not sure the stylesheet is compiled by then.

I've googled to find a solution, and now it's even more confusing!

Anyone has a pointer?


Site Timeline