WordPress Cache Inspect

What it does

The aim of the plugin is to help people analyse the behaviour of the cache builtin to WordPress v2.0. It provides the administrator with a quick overview of how the cache is performming and allows the cache to be cleared manually from an admin page.

How it works

The plugin displays a small semi-transparent box in the top right hand corner of the page for all logged in users with the manage_cache capability. By default this capability is given to the Administrator user at plugin activation and removed from the Administrator user at plugin deactivation. Any user with the capabilty will also be able to clear the cache using the Manage … Cache page which appears in the administation interface.

Cold Cache Hits
This is the number of cached items that were loaded from disk.
Warm Cache Hits
This is the number of cached items accessed that were already in memory
Cache Misses
This is the number of items that had to be fetched from the db as they were not in the cache.
Loaded data
This lists the type and amount of data loaded into memory from that currently stored within the cache..

Known Issues

The plugin hooks into the builtin cache object and relys on accessing some of its private data to extract the statistics as such it is not compatible with any of the available cache alternatives.


This plugin requires WordPress 2.0 or later to function as it relies on the existance of the cache and the ability to detect plugin activation/deactivation to register the new manage_cache role.


The latest version of the plugin may be downloaded here: pjw-wp-cache-inspect.0.50.zip

66 thoughts on “WordPress Cache Inspect

  1. Pingback: 本站使用的WordPress插件 at catch the digital flow

  2. Pingback: Badblue » Blog Archive » 八个无价的Wordpress插件

  3. Marie

    Hey, I installed it and cleared the cache, but it seems to still not working. I can’t see what version on WP I am using, but I installed just some months ago, so I think it is 2.0. Where can I see what version it is?

    Also I am not using other plug-ins. Otherwise I think this plug-in is great and would like it to work for me too =)


  4. Marie – have you enabled the cache – by default it is disabled in the since the later versions of the 2.0 series and you have to enable it manually by adding a line to wp-config.php:

  5. Marie


    I have enabled it in that kind of way, but it still doesn’t work. I still get this as a result:

    Cold Cache Hits: 2
    Warm Cache Hits: 419
    Cache Misses: 32
    DB Queries: 15
    Loaded data:
    options – 64 items
    users – 1 items
    userlogins – 1 items
    category – 10 items
    pages – 1 items
    page – 1 items
    bookmark – 1 items

    It doesn’t change =/

  6. Pingback: 八个无价的Wordpress插件 at 李德成的网志

  7. Pingback: asbel.be » Optimiser WordPress (safe mode)

  8. Pingback: WordPress Cache kontrollieren | bueltge.de [by:ltge.de]

  9. Pingback: 我使用的WordPress插件列表(2007-07-19) at catch the digital flow

Comments are closed.