[wp-hackers] Caching as part of the core

Ryan Hellyer ryan at pixopoint.com
Fri Jul 20 16:19:05 UTC 2012

As pointed out by Scribu, there is already a caching API built into
WordPress core. It is very easy to use.

It would be possible to force the caching API to use transients by
default instead of relying on an object cache, but that may
potentially slow things down sometimes, hence it's left up to
individual plugin/theme developers to utilize the caching API in the
optimal way.

I see no point in changing the way WordPress core handles caching. It
works pretty slick from my perspective.

You also mentioned minification, but that is not a caching IMO, that
is a separate issue, albeit one which is often applied during the
caching process.

> Message: 2
> Date: Fri, 20 Jul 2012 16:10:29 +0300
> From: Almog Baku <almog.baku at gmail.com>
> Subject: Re: [wp-hackers] Caching as part of the core
> To: wp-hackers at lists.automattic.com
> Message-ID:
>         <CALncZpQ2wYSyJ2xTjx-w7qJY9Nd8HP8Z2SJkM8LnR8xwOcaZzQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> Mike,
>    1. You offer here a great idea!
>    2. I think we should at least develop api(with basic implementation)
>    that the 3rd-party plugins can extend and improve.
>    3. If there will be some api-interface, and we will encourage for it in
>    the plugin repository it will serve us well.

More information about the wp-hackers mailing list