Cache Time is a simple, but yet advanced plugin that displays the time that the current page was cached.
Cache Time displays the time that the current page was cached, and prints it via the cache_time(); function. It takes into account the different time zones of the WordPress blog, and whether or not WP-Cache has blocked the current URL for caching.
It has been tested with WP 2.6 and WP-Cache only, so please contact me with any questions or concerns with other systems. WP-Super-Cache should work, but it is not officially tested.
Be sure to check out my other plugins at my WordPress profile.
<?php cache_time(); ?>to print the plugin's output.
There are 3 elements that can be customized with Cache Time:
$cached = 'Page cached on: ';. Change the text between the quotes for your own message.
$not_cached = 'Time is now: ';and change the text between the quotes.