[wp-hackers] caching doesn't work?

Peter Westwood peter.westwood at ftwr.co.uk
Sat Feb 4 13:59:14 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David House wrote:
> On 02/02/06, Nathan Ollerenshaw <chrome at stupendous.net> wrote:
>> I thought WP_Object_Cache obviates the need for other caching
>> systems ... but it doesn't seem to make a difference performance-wise
>> whether it is on or off, though looking at what stats() gives you, it
>> seems to be 'working'.
> 
> Try sticking $wp_object_cache->stats() somewhere in your theme to see
> how many hot/cold hits you're getting. (a hot hit is one where the
> object was already cached in memory, a cold one is where it has to be
> loaded from the file system, a miss is where it can't be found even
> there).
> 

I finally finished off the plugin I had been hacking to display this
info in a slightly more accessible way for the admin user.

See: http://blog.ftwr.co.uk/wordpress/wp-cache-inspect/ for more info.

The plugin also exposes an easy to use cache clear button.

westi
- --
Peter Westwood
http://blog.ftwr.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD5LMyVPRdzag0AcURAuaJAKCxCzaUeQep4xYtam+DRnLH4McE2gCfQWVK
kAVYizd6lxD/DZWZqfhrmgQ=
=gtI+
-----END PGP SIGNATURE-----



More information about the wp-hackers mailing list