The first time I tryed to upgrade WP to version 2 I already had problem with the new caching feature.
Upgrading on the test host I didn’t have those caching problems, but after replicating the exact same data (files and database) on the production host the troubles are back again!
Let me explain the problem: I have WP2 caching feature enabled (as it is by default) and wp-content/cache/ folder is writable by erb server processes.
* I go to the Admin panel options page,
* I change the tagline option to some random words
* and click the Update options button to save
As the page reload, I can see that the new tagline option is now empty, and that many other options have changed.
It’s weird but it doesn’t happend on my test host (while the production host is running Linux Debian testing, the test host is running HP-UX 11i).
Of course, if I disable the cache feature, it doesn’t happend any more. So the cache seems to be the cause of my troubles.
After searching for some time, I have found some people reporting that WP2 cache is broken, but I couldn’t find anything official about it:
* WordPress 2.0 Cache Is Broken!
* No caching for me
* Odd issue with editing posts
So, until any WP revision solve the cache problems, the only thing I can do for the moment is disabling the cache. This can be done by writting the following line in wp-config.php:
define('DISABLE_CACHE', true);

0 Response to “Troubles with WP2 caching feature”