News Feed

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 5 Amazing New WordPress 2.7 Features Developing State-enabled Applications With PHP A Look At PHP 5.3 Frameworks - Symfony2

Richard Thomas' Blog: Performance of Zend_Loader Deploy your WordPress Blog to the Cloud

Community Events

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

podcast series language symfony voicesoftheelephpant unittest release version community framework extension configure composer api opinion list introduction interview laravel conference

All content copyright, 2015 :: - Powered by the Solar PHP Framework