Posted by Rasmus Lerdorf on 09/28/05 19:28
> A very similar question was asked recently on this list. You might like
> to consider caching whatever you create from those result sets rather
> than the result sets themselves, but APC [1] is worth looking at as I
> believe it can cache (some?) PHP vars without serialisation, using
> apc_store() and apc_fetch().
Everything except objects. That also means if you have a nested array
containing objects, it will have problems. Right now you have to serialize
the object yourself if you want to cache it, but I will add code soon to do
that automatically internally.
-Rasmus
[Back to original message]
|