Hello @Oleg Semyonov , I think running a trace in this example can help in exactly pin-pointing the issue.
You can run a trace for your API using the following steps.
- Go to your API in APIM on Azure portal
- Click on test
3. Click "Send" to test the API. and then click on Trace
In the "Inbound" section of the trace, you can see if the "cache-lookup-value" has resulted into a hit or a miss. If the "cache-lookup-value" has resulted in a miss try running it again if the previous run was more than 20 secs ago. If it still results into a cache miss, then check the "cache-store-value" in the inbound section of the trace. According to the issue mentioned here see if there is any mismatch in the "key" value set.
Please let me know if there are any concerns. Thank you!