Re: [PHP-PEAR] Output_Cache Module
[email protected] (Christian Stocker)
| Newsgroups | php.pear |
|---|---|
| Organization | Phant! - http://phant.ch |
| Message-ID | <[email protected]> |
Hi
> > In our company we are using xslt (sablotron) for generating our webpages.
> > Unfortunately this parsing is quite slow, so i wrote this little class,
> > which does cache the generated output in a directory. I got the idea from
> > a phpbuilder article ("Controlling PHP Output: Caching and compressing
> > dynamic pages" <http://www.phpbuilder.net/columns/argerich20010125.php3>,
> > only the caching part) and extended it to log some stuff in a database, to
> > get an easier track, if the page changed or not.
>
> there alreay is a very nice caching class (with SHM support) in
> PEAR/cache, maybe you want to extend its functionality or create
> another class relying on this one...?
As you wrote in a later mail, it seems not to be available now :) but i'd
be happy, to have a look at it and if it does, what i was intended to do,
even better :) i just know, that there's a Function_Cache Class in the
actual PEAR, but as i understood it, it does something different, than i
did. My class caches the output (the html pages, not the compiled code,
see the link in my original post for further details), but maybe i didn't
get something right. Or this class you mentioned is really something
different than what i saw (which is well possible according to your later
mail)
>
> > If you want to have a look, including a very small sample file (as you can
> > see in that, it's really easy to integrate caching with this modules), go
> > to http://www.nomad.ch/php and download the files. Any feedback is very
> > welcome.
>
> if they had the extension .phps we could :)
yep, i know. you have to download it at the moment and examine it
locally. the .phps stuff will come tomorrow in the later morning (CET) as
our webserver is not configured for that at the moment...
but anyway, thanks for your input.
chregu
--
nam...christian stocker adr...bremgartnerstr. 66, ch-8003 zurich
pho...+41 1 451 6021 www...http://phant.ch/chregu
mob...+41 76 561 8860 [email protected]