The WordPress Object Cache is used to save on trips to the database. By default, the object cache is non-persistent. The Object Cache stores all of the cache data to memory and makes the cache contents available by using a key, which is used to name and later retrieve the cache contents.
The Object Cache can be replaced by other caching mechanisms by placing files in the wp-content folder which is looked at in wp-settings. If that file exists, then this file will not be included.
By default, the object cache is non-persistent. This means that data stored in the cache resides in memory only and only for the duration of the request. Cached data will not be stored persistently across page loads unless you install a plugin.
Use the instead of these functions if you need to guarantee that your data will be cached.
No, including this constant with a value of true loads advanced-cache.php. Object-cache.php is loaded and used automatically.