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.

Requirements

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.

Download

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

65 Responses to “WordPress Cache Inspect”

  1. [...] PJW WP Cache Inspect – o cache do WordPress pode ser bem teimoso às vezes. Por causa dele, algumas mudanças no blog podem não ser efetivadas imediatamente, mas apenas alguns minutos depois. Esse plugin dá um jeito nisso, porque possibilita a limpeza do cache sempre que o blogueiro quiser. [...]

  2. [...] simple way to do this is by installing the WordPress Cache Inspect Plugin, and then go back to your homepage (in logged in status), and you’ll see some random numbers [...]

  3. [...] PJW WP Cache Inspect – Enables you to inspect how the builtin cache is working. [...]

  4. [...] PJW WP Cache Inspect 0.5 » Peter Westwood (url) Enables you to inspect how the builtin cache is working. [...]

  5. ales says:

    What a difference turning on object cache and this plugin.

    From having 53 DB queries, I am down to 19.

    Cold Cache Hits: 33
    Warm Cache Hits: 487
    Cache Misses: 0
    DB Queries: 19
    Loaded data:
    options – 2 items
    userlogins – 2 items
    users – 2 items
    category – 27 items

  6. Frank says:

    Hello Peter,
    i have update your very nice plugin for wp2.5. You can download under http://bueltge.de/wordpress-cache-kontrollieren/479/
    I hope you enjoy this version.
    best regards
    Frank

  7. [...] des Cache empfiehlt sich auch weiterhin das Plugin „PJW WP Cache Inspect“, welches von Peter Westwood ist und durch mich ein wenig angepasst wurde, dabei habe ich Veränderungen zum Leeren des [...]

  8. [...]   Wordpress 2已经内置了很不错的缓存系统,然而有一些小问题是,它有时会缓存一些你不需要缓存的信息。例如,当你重新设计你网站的栏目时候,无论你刷新了多少次页面,你都发现没有任何改变。Peter Westwood的WP Cache Inspect可以让你在任何需要的时候手动清除缓存。 [...]

  9. [...]   Wordpress 2已经内置了很不错的缓存系统,然而有一些小问题是,它有时会缓存一些你不需要缓存的信息。例如,当你重新设计你网站的栏目时候,无论你刷新了多少次页面,你都发现没有任何改变。Peter Westwood的WP Cache Inspect可以让你在任何需要的时候手动清除缓存。 [...]

  10. [...] parodo kokios duomenų bazės užklausos vykdomos kiekvieną kartą jungiantis prie svetainės ir wp-cache-inspect, kurio pagalba galima analizuoti Worpress kešavimo efektyvumą. Daugiausia naudos turėjau iš [...]

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



d
go to dashboard
l
go to login
h
show/hide help
e
edit post/page
r
comment on post/page
m
go to moderate comments
esc
cancel