Unable to cache using caching assertions

I have setup caching in 8.2 for an API previously. Now when we are doing for a different customer are not able to cache HTTP responses today in 8.3 using the caching assertions only when there is an Route via HTTPs assertion is involved. But if we do a 'Copy request Message to response' assertion instead, it works like a charm.

When we use Route via HTTPs assertion & then do a Store to cache, I can see in audit logs that data was stored but Look up fails to retrieve the cached data. Please advise me what might be going wrong.

Thanks for the reply Steve. I was able to resolve the issue. The root cause was the message size. Since the message size exceeded the limit set in the Store to cache policy, the message was not cached.

I would recommend CA to include more meaningful information when we have such fails. The document tells me the policy is not designed to fail, but a log or better message would help in troubleshooting.

The cache assertion is independent of any routing or the template assertion and is just a matter of storing a value in a message context against a set of keys. If you can include a policy snippet of the store and retrieve cache assertion this will help to see what is configured.

Thanks for the reply Steve. I was able to resolve the issue. The root cause was the message size. Since the message size exceeded the limit set in the Store to cache policy, the message was not cached.

I would recommend CA to include more meaningful information when we have such fails. The document tells me the policy is not designed to fail, but a log or better message would help in troubleshooting.