We found that there is an internal limit (2.5MB) for storing a single item into internal cache.
Is there any chance to increase the limit? Or is it the limit hardcoded?
API Gateway
The limit is not imposed by the Cache assertion but by the Gateway due to the cluster wide property io.xmlPartMaxBytes (default: around 2.5 MB).
Increasing this limit should solve your problem.