"cache_value value has exceeded its maximum length".

"cache_value value has exceeded its maximum length".

The error you have faced is due to the exceeding of maximum length for a single cache item and not for a segment. The maximum size for a single cache item is 16000 characters.