October 15th, 2006 › 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

Read 58 Comments

58 Comments »

[...] Head on over to the wp-cache-inspect page for more info and to download. Comment on this post [...]

Pingback by Peter Westwood » WordPress Cache Inspect v0.50 — 4/2/2006 @ 1:56 pm §

 

Peter, thank you for developing and releasing the WordPress Cache Inspect plugin. It is very useful and helping me to learn about how my WP cache operates. The “clear the cache” option is especially keen. Props out.

Comment by m0n — 10/4/2006 @ 5:26 pm §

 

[...] There’s a plugin to double check the install that I might install later on. [...]

Pingback by Dr. Mike’s Blog » Blog Archive » Cache anyone? — 2/6/2006 @ 1:18 pm §

 

Unbezahlbare Wordpress Plugins…

Ganze acht an der Zahl stellt das japanische Pingmag in Invaluable Wordpress Plugins! kommentiert vor. Im Einzelnen sind das: WP-Shortstat Get Custom WP Cache Inspect Markdown WP Pagenavi Akismet WP Related Entries WP Contact Form Ich würde der Liste …

Trackback by pixelgraphix — 23/6/2006 @ 12:44 pm §

 

[...] Wordpress 2 has a cache built into the system, which is great. What isn’t so great however, is that sometimes it caches things when you really don’t want it to - for example when you are redesigning parts of your site and no matter how many times you refresh the page, you can’t see the changes you made! WP Cache Inspect by Peter Westwood allows you to easily clear your cache whenever you feel like it. [...]

Pingback by PingMag - The Tokyo-based magazine about "Design and Making Things" » Archive » 8 Invaluable Wordpress Plugins! — 28/6/2006 @ 7:22 am §

 

Thanks this Really help for me.

Comment by Jauhari — 29/6/2006 @ 2:24 am §

 

[...] PWJ WP Cache Inspect - leidžia ištrint susikaupus? WP cache bei rodo statistik? tinklapio kamputyje; [...]

Pingback by :: code :: red :: lt :: » Blog Archive » WP ?skiepiai — 29/6/2006 @ 5:14 pm §

 

Thanks for the plugin, makes designing a little easier.

Comment by oz — 29/6/2006 @ 7:43 pm §

 

[...] WP Cache Inspect:缓存已经是wordpress 2.0的内建功能了,但有时候你会很想搞清楚它到底在干些什么,那么这个插件可以帮助你。至少,在你屡次刷新失败的时候,它可以帮你清空缓存。推荐度:三星。 [...]

Pingback by ???-LifeBang » Blog Archive » ???????wordpress?? — 2/7/2006 @ 11:18 am §

 

Nice plugin, Thank you!

Comment by vincent — 5/7/2006 @ 9:07 am §

 

hello,

I do never ever see anything in the cache - could it be that the cache is disabled??? or what else could be the problem?

Comment by ovidiu — 19/7/2006 @ 10:46 am §

 

Ovidiu: Yes if you don’t see anything it is likely that the cache is disabled - It was disabled by default in versions of WordPress from 2.0.2 I believe and it was becoming a problem to support on all server platforms so yuo have to enable it manually by adding a define (”define('ENABLE_CACHE', true);“) to wp-config.php before it will work.

Comment by westi — 19/7/2006 @ 12:51 pm §

 

[...] I have added this plugin to the WordPress Plugin Collection which currently lists out 40 useful plugins :-) Download WordPress Cache Inspect [...]

Pingback by WordPress Plugin: Cache Inspect at JohnTP’s Home — 9/8/2006 @ 3:42 am §

 

[...] This plugin will help you 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. [...]

Pingback by WordPress Plugins at JohnTP’s Home — 9/8/2006 @ 3:52 am §

 

hello, its me again :-)

does this plugin work together with wp-cache2 plugin from http://www.redalt.com/External/plugins.php?p=wp-cache ?

Comment by ovidiu — 13/8/2006 @ 3:31 pm §

 

Ovidiu: This plugin won’t provide any information about the content caching provided by wp-cache2. It only provides information about the builtin caching in WordPress which cache data queried from the database.

Comment by westi — 13/8/2006 @ 8:56 pm §

 

Hi,

Westi, I just graded my blog from WP 1.5.3 beta 1 to WP 2.0.4 and the cache is empty. So I added the line to my wp-config file and refreshed a few pages and still there is nothing displayed on the cache tab. :(

When I was running WP 1.5.3 beta 1 I was using wp-cache which I have disabled and removed its cache line from wp-config. So there should be no interference or anything.

Any idea on what the problem could be?

Thanks a lot,

Will

Comment by Will — 14/8/2006 @ 6:47 pm §

 

Will:If the built-in WordPress cache is still empty after you have enabled it with the define in wp-config.php then it is likely that something else todo with your server config is stopping it writing the files it wants to write in the wp-content/cache folder either file permissions or php setup.

Comment by westi — 14/8/2006 @ 9:24 pm §

 

Hi,

Very strange. Well the cache folder is chmod 777 and there are files in there and I notice if I clear the cache they get deleted and on the next page load they are recreated. So the cache is working, so it seems.

Even tried it here locally on my winxp box and same results.

Um, not sure what you mean by php setup. Some “evil” setting?

Thanks again for your help,

Will

Comment by Will — 15/8/2006 @ 4:15 am §

 

Um, this is really weird. It works now. lol I changed nothing. Just started to work on its own. he he :)

Comment by Will — 15/8/2006 @ 6:35 pm §

 

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

Pingback by 謎辵l@l孖兲 » 八个无价的Wordpress插件 — 7/9/2006 @ 8:36 am §

 

[...] 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. [...]

Pingback by BlogueIsso! - » Plugins indispensáveis do WordPress, versão BlogueIsso! — 9/9/2006 @ 4:08 am §

 

[...] Audio player 能够播放mp3文件,大多数情况下mp3足够了,不过有打算安装coolplay. Extended Live Archives 很棒的动态存档文章插件.AJAX技术支援,具体效果看导航栏的归档. Akismet WordPress自带的反spam插件.可我的访客”阿呜”同学为什么每次留言都会被自动识别成垃圾留言呢? Adsense-Deluxe google的广告插件,让你很方便在某个位置插入google的广告. GoodLinks 自动缩短留言里面出现的过长链接 ImageManager 图片管理插件,弥补了wordpress的图片管理功能不足. Manage Me 管理文章,评论,用户…的软件,比wordpress自带的功能强大,用到的时候打开.常时关闭. 中文 WordPress 工具箱  可以显示最新文章,最新留言,随机文章之类的功能. WP-PostViews  可以显示文章被阅读的次数,似乎一个IP只算一次. PJW WP Cache Inspect wordpress缓存清除插件,常时关,要清楚的时候打开清除. Google Sitemaps 每发表一篇日志之后,就会自动生成sitemap,并告诉google. Sidebar Tile  左边sidebar上面的那个about内容,修改起来比在sidebar.php文件里面要直观很多. WordPress Reports  我只要到里面的google分析的插件,提供数据让你可以分析你的访客信息. WPG2  让强大的galley图片程序跟wordpress整合到一起. wp-pager2 给多页面加上1,2,3,4…的标签. Chunk Urls for WordPress 折断过长的链接.不知道他跟Goodlinks哪个好,索性一起开着 WordPress Database Backup wp内置的数据备份工具. Trackback URL: http://2gou.net/wp-trackback.php?p=537 这篇日志还没有评论. Post Comment [...]

Pingback by 狗车志 » 我用到WP插件 — 1/10/2006 @ 3:42 am §

 

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

Pingback by oceanus » — 12/10/2006 @ 1:38 am §

 

[...] Wordpress Cache Inspect 0.5: Alle angemeldeten Nutzer sehen seit Neustem eine kleine Box in der oberen rechten Ecke, welche eine kleine Übersicht zur Leistung dieser Seite bietet. Sie beinhaltet beispielsweise die Anzahl der Datenbankzugriffe, der Größe des belegten Speichers und und und… Von Peter Westwood. [...]

Pingback by Süchtig nach Modulen/Plugins [3] » Neunzehnhundert.org » Neue Introspektiven — 14/10/2006 @ 1:33 pm §

 

[...] «schick» aussehen soll) http://orderedlist.com/articles/wordpress-administration-design-tiger/ permalink | trackback uri| [...]

Pingback by blog.KEMIEWERK » Linkliste: dein eigener Blog — 29/10/2006 @ 6:32 pm §

 

[...] WordPress Cache Inspect helps you analyse the behaviour of the cache builtin to WordPress. 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. [...]

Pingback by Essential Wordpress Plugins » TechRoam — 29/10/2006 @ 10:29 pm §

 

[...] 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. [...]

Pingback by Plugins indispensáveis do WordPress, versão BlogueIsso! « BlogueIsso! — 5/11/2006 @ 7:55 pm §

 

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

Pingback by TopDig » 博客文章 » TOP10:十个必装的Wordpress插件 — 30/11/2006 @ 3:13 am §

 

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

Pingback by 道 » Blog Archive » 八个无价的Wordpress插件 — 30/11/2006 @ 7:35 am §

 

Hi and thanks for this plug. I’m using WP 2.05 with your newest version, unfortunately there’s nothing showing up in my top right corner. The CSS is written just before the closing head-tag of the page and the delete cache option in the backend is there, too (although it doesn’t work, but states so :o).

I deleted the cached files manually, too, because i thought the page without the pop-up might be cached itself, but no chance, any idea?

Comment by Marco — 30/11/2006 @ 4:37 pm §

 

Marco - have you enabled the cache in wp 2.0.5 - by default it is disabled in the later versions of the 2.0 series and you have to enable it manually by adding a line to wp-config.php - define('ENABLE_CACHE',true);

Comment by westi — 1/12/2006 @ 9:51 am §

 

I already did that. Maybe it’s a conflict with another plug or i kicked out something from my templates, your plugin needs to be loaded. Never mind and thanks again, i’ll try it again with my next blank installation of wp, maybe then i’ll find out what was going wrong. If you’re interested in further investigations, please contact me via email.

Comment by Marco — 1/12/2006 @ 10:55 am §

 

Just a note that I added the DB query time in seconds to the semi-transparent box. I added the following after the line that outputs the number of DB queries:

echo “<strong>Time:</strong> “; timer_stop(1); echo ” sec<br/>”;

I find this to be very convenient.

Comment by Bob — 26/3/2007 @ 5:34 pm §

 

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

Pingback by 连锁店 » Blog Archive » 八个无价的WordPress插件 — 8/4/2007 @ 11:11 am §

 

[...] eigenen Cache für “eigene Zwecke” einsetzen möchte, empfiehlt sich die Installation von “WP-Cache-Inspect”. Nach Aktivierung wird dem Administrator (andere Besucher sehen dieses Fenster nicht) ein [...]

Pingback by PlugIn: WP Cache-Inspect (gunnART - Grafik, Layout, Konzeption) — 22/4/2007 @ 3:50 am §

 

[...] eigenen Cache für “eigene Zwecke” einsetzen möchte, empfiehlt sich die Installation von “WP-Cache-Inspect”. Nach Aktivierung wird dem Administrator (andere Besucher sehen dieses Fenster nicht) ein [...]

Pingback by PlugIn-Empfehlung: WP Cache-Inspect (gunnART - Grafik, Layout, Konzeption) — 22/4/2007 @ 3:55 am §

 

FYI, I’ve added this plugin to the Codex page about the WP cache

Comment by Ozh — 23/4/2007 @ 7:06 am §

 

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

Pingback by 老U-牛X的下岗职工 » Blog Archive » 八个无价的WordPress插件 — 25/4/2007 @ 2:27 am §

 

[...] Visit [...]

Pingback by WP Plugins DB » Blog Archive » WordPress Cache Inspect — 20/5/2007 @ 7:55 am §

 

[...] PJW WP Cache Inspect [随时清除WordPress烦人的缓存] [...]

Pingback by 本站使用的WordPress插件 at catch the digital flow — 1/6/2007 @ 5:39 am §

 

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

Pingback by Badblue » Blog Archive » 八个无价的Wordpress插件 — 4/6/2007 @ 9:39 am §

 

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 =)

/Marie.

Comment by Marie — 22/6/2007 @ 7:03 pm §

 

Now I see I am using version 2.1.2.

Comment by Marie — 22/6/2007 @ 7:14 pm §

 

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:
define('ENABLE_CACHE',true);

Comment by westi — 23/6/2007 @ 3:33 pm §

 

Hi,

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 =/

Comment by Marie — 23/6/2007 @ 9:26 pm §

 

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

Pingback by 八个无价的Wordpress插件 at 李德成的网志 — 24/6/2007 @ 11:59 pm §

 

[...] contrôler le cache, un plugin s’offre à nous, je vais ne pas détailler son installation car il n’y a rien de spécial à [...]

Pingback by asbel.be » Optimiser WordPress (safe mode) — 8/7/2007 @ 6:04 pm §

 

[...] hat sich auch dazu schon ein findiger Kopf gefunden und ein Plugin erstellt. Das Plugin „PJW WP Cache Inspect“ gibt eine Ausgabe alle relevanten Daten im Frontend aus, so dass der Admin, insofern er im [...]

Pingback by WordPress Cache kontrollieren | bueltge.de [by:ltge.de] — 18/7/2007 @ 9:24 am §

 

[...] PJW WP Cache Inspect [...]

Pingback by 我使用的WordPress插件列表(2007-07-19) at catch the digital flow — 19/7/2007 @ 5:44 am §

 

[...] 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. [...]

Pingback by Plugins indispensáveis do WordPress : Blog Web Codigos — 3/9/2007 @ 4:51 pm §

 

[...] 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 [...]

Pingback by Looking to optimize your Wordpress blog even more ? » Reaper-X .:[ ID ]:. — 17/9/2007 @ 5:39 pm §

 

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

Pingback by My favorite WordPress Resources | sebthom.de — 30/9/2007 @ 9:10 am §

 

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

Pingback by 中文赚钱博客 » Wordpress Plugins — 17/11/2007 @ 3:27 am §

 

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

Comment by ales — 9/4/2008 @ 11:20 am §

 

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

Comment by Frank — 27/4/2008 @ 10:08 am §

 

[...] 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 [...]

Pingback by WordPress 2.5 Cache - bueltge.de [by:ltge.de] — 27/4/2008 @ 9:17 pm §

 

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

Pingback by 是地中云 » Blog Archive » 八个无价的Wordpress插件 — 10/5/2008 @ 7:48 am §

 

RSS feed for comments on this post. TrackBack URI

Leave a comment

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>

21 queries. 1.556 seconds. Powered by WordPress. This blog is protected by Spam Karma 2: 208381 Spams eaten and counting...