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

NETTUTS.com: Your First WordPress Plugin: Simple Optimization

WebCheatSheet.com: PHP: Dynamic Image Generation

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins

Matthew Turland's Blog: Meet Phergie

Developer Tutorials Blog: Turn Your Wordpress Blog into a Social Network


Community Events

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


release interview opinion podcast introduction feature series api wordpress language community development library unittest voicesoftheelephpant framework laravel5 laravel threedevsandamaybe extension

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