Enable writing of data to disk if no persistant object cache

If WP_CACHE isn't defined or isn't set to true then I've assumed no persistant object cache is in place and wrote the data to disk instead.