[wp-hackers] Confusion About WordPress Cache

Austin Matzko austin at ilfilosofo.com
Fri Dec 17 14:46:49 UTC 2010


On Fri, Dec 17, 2010 at 8:42 AM, 肖晗 <xiaohan2012 at gmail.com> wrote:
> I wonder if I got the wrong idea of what *cache* is. I have it in mind that
> *cache *can be preserved even in different requests

The cache API in core WordPress provides just an object cache, but you
can use a persistent caching tool to extend it to do what you want.

See <http://codex.wordpress.org/Function_Reference/WP_Cache> under
"Persistent Caching Plugins."

Also, you may be able to accomplish what you need with transients:
<http://codex.wordpress.org/Transients_API>


More information about the wp-hackers mailing list