* commit '8a9fc09c92cf0b1f08186c9339952e47eddee74b': Revert "Don't reset cachedSize to 0 in getSerializedSize"