[wp-hackers] Handling non_persistent_groups in a persistent object cache

scribu mail at scribu.net
Thu Oct 21 10:35:12 UTC 2010


On Thu, Oct 21, 2010 at 1:25 PM, John Blackbourn
<johnbillion+wp at gmail.com<johnbillion%2Bwp at gmail.com>
> wrote:

> Hi,
>
> I've written a persistent object cache plugin (the object-cache.php
> drop-in) which interfaces with Xcache.
>
> In WordPress, some cache groups get added to a list of non persistent
> groups using add_non_persistent_groups(). Am I right in thinking that
> any object placed into the cache that's in one of these groups should
> not be stored persistently (ie. should not be stored in Xcache) and
> only be cached in a PHP variable for the duration of the page just
> like WordPress' built-in object cache? Or does this mean something
> else?
>
> Any pointers appreciated.
>

I think your best bet is to look at the implementation for memcache:

http://wordpress.org/extend/plugins/memcached/


More information about the wp-hackers mailing list