News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alex Mills' Blog:
Why WordPress Doesn't Have Built-In Persistent Caching
August 13, 2010 @ 11:20:37

Alex Mills has a interesting post to his blog answering a question he and several of the other WordPress developers at Automatic get about their blogging engine - why it doesn't including a default caching layer.

WordPress does actually have a built-in cache called the object cache. It was introduced way back in 2005 1 and it basically caches database query results. [...] However as soon as the page is done being generated, that object cache is discarded. Initially the object cache cached these little chunks of data to the filesystem so that they could be reused on subsequent pageviews. While great in theory, the concept turned out to be terrible in practice.

They opted out of the persistent object caching because, well, it was slower than some of the preexisting alternatives out there like database caching and caching plugins (with WP Super Cache).

0 comments voice your opinion now!
wordpress persistent cache plugin


blog comments powered by Disqus

Similar Posts

Dougal Campbell's Blog: Suggestion: WordPress Option Namespacing

NETTUTS.com: 15 Wonderfully Creative Uses for PHP

Ryan Malesevich's Blog: Fight Spam Comments with Bad Behavior and Akismet

Developer Tutorials Blog: Hacking Wordpress When You've Forgotten Your Password

Johannes Schluter's Blog: NetBeans plugin for running phpt tests


Community Events





Don't see your event here?
Let us know!


library symfony podcast opinion api framework interview install community zendserver update laravel release package series introduction language deployment unittest tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework