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

Ibzi's Blog: Start caching all your pages in 5 steps

JSLabs Blog: 5 tips for creating high performance web apps

Symfony Blog: A simple CMS for symfony

Edd Mann: Storing PHP Sessions/File Caches in Memory using TMPFS

Secunia.com: WordPress myGallery Plugin "myPath" File Inclusion


Community Events

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


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

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