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

John Blackbourn johnbillion+wp at gmail.com
Thu Oct 21 10:25:26 UTC 2010


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.

Cheers,
John


More information about the wp-hackers mailing list