[wp-hackers] Bizarre /cache/ experience with wp_object_cache.lock

David House dmhouse at gmail.com
Fri Feb 3 11:02:21 GMT 2006


On 03/02/06, Mark Jaquith <mark.wordpress at txfx.net> wrote:
> Sounds good to me.  Only thing is that we'll have to create an option
> for it... and that'll add a query to every page (as it will be run
> before you grab the options from the object cache or do the autoload
> options query).  And the option will probably have to have an
> interface to change it, in case someone fixes the situation with
> safe_mode.

We don't need an option. At the moment we have a constant,
ENABLE_CACHE, which you can define in wp-config.php to enable the
cache even when safe mode is on.

--
-David House, dmhouse at gmail.com, http://xmouse.ithium.net


More information about the wp-hackers mailing list