Re: serializing result sets or what?
| From: | Rasmus Lerdorf | Date: | Wed, 28 Sep 2005 16:28:36 +0000 |
| Subject: | Re: serializing result sets or what? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223363@lists.php.net to get a copy of this message | ||
> 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