Add serialized capacity to Cache_Redis for objects

Updated with Tcholakov's suggestion.
Verified on Both Mac and Ubuntu environments and run correctly with my database result.