[wp-testers] Persistent Cache Turned On

Ryan Boren ryan at boren.nu
Fri Nov 11 20:34:06 GMT 2005


The persistent cache has been turned on by default in the latest svn.
If your wp-content directory is writable, cache files will start to show
up.  If you've already been testing the cache, you might want to delete
the cache files since their format has changed a couple of times.

The cache files should expire after 1 day.   If you want to change the
expiration, define CACHE_EXPIRATION_TIME in your wp-config.php.  Set it
to whatever timeout you like, in seconds.

define('CACHE_EXPIRATION_TIME', 86400);

If you want to disable the persistent cache, define DISABLE_CACHE in
wp-config.php.

define('DISABLE_CACHE', true);

By default, the cache writes to wp-content/cache/.  If you would like to
locate your cache outside of your document root, define CACHE_PATH in
wp-config.php.  Make sure the directory it points at already exists and
is writable.

define('CACHE_PATH', '/var/cache/wp/');

Thanks for testing.

Ryan




More information about the wp-testers mailing list