I have some data of an object,generated by a class, saved as post meta.
This is the class:
$meta_data = get_post_custom($id);
$this->stuffs_1 = $meta_data[stuffs_1];
$this->stuffs_2 = $meta_data[stuffs_2];
if this , then, that ....
In the template:
$obj = new OBJ($id);
Then, lots of functions are using $obj->stuffs.
I understand WP’s post meta are cached. But, is this $obj cached?
if $obj is not cached, what else I should do?