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

Matthew Weier O'Phinney: Zend Server, ZF2, and Page Caching

SitePoint.com: Scheduling Tasks in WordPress: a Plugin Developer's Guide

Cal Evans' Blog: The 2 Hours After the WordPress 5 Minute Install

Christoph Dorn's Blog: Gain insight into your cache interaction with FirePHP Companion

MelonFire Community: Caching Web Sites With PEAR Cache


Community Events

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


community language interview release podcast voicesoftheelephpant library series version extension unittest list opinion api laravel5 introduction wordpress framework laravel php7

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