[wp-hackers] Caching as part of the core
Mike Schinkel
mike at newclarity.net
Tue Jul 24 06:59:27 UTC 2012
On Jul 24, 2012, at 2:44 AM, Bryan Petty wrote:
> Since you brought it up though, maybe we should discuss how developers
> can't actually write page caching plugins without writing their own
> persistent cache system included in their plugins currently because the
> object cache in core has been entirely useless for that since 2008. This
> isn't even a question of whether a page caching plugin would use it or
> not, *all* page caching plugins require a persistent cache.
The Transients API[1] would potentially be something that persistent storage could be based on using hooks.
But alas, it is loaded *after* advanced-cache.php and it depends on the hooks system, which is loaded even later. Yet another example of how caching is hard to implement in WordPress because core has never needed to address these issues.
-Mike
[1] http://codex.wordpress.org/Transients_API
More information about the wp-hackers
mailing list