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

Michel Valdrighi michelv at gmail.com
Fri Feb 3 09:14:17 GMT 2006

> > Why wasn't WordPress reverting
> > to the old caching method (i.e. select all options where autoload =  '1'
> > and store them in memory for that load)?

> We don't revert to the old method because is_writable() is
> telling us that we are able to write to the cache even though that isn't
> the case.

I haven't had time to dive into the code yet (doh), but what if there
were a check done in addition to is_writable(), to see if the first
time we try to cache something it really works? If the result of the
test is negative, revert to memory store.

Michel Valdrighi
Devéloppeur Web Intraordinaire

More information about the wp-hackers mailing list