Azure API Management Internal Cache - How to see entries.

Kristóf Nalesnyik 101 Reputation points
2021-10-27T11:52:00.997+00:00

Hi,

At Azure API Management, I use internal cache policy, to cache client's ip address, and I would like to check what has been cached.
Is there a way to see those entries?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,739 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,391 Reputation points
    2021-10-28T03:05:25.57+00:00

    @Kristóf Nalesnyik If you are looking for any tools or from the Azure portal to view all the cache keys with their respective values then it is not possible.
    The only way to retrieve the values is using policy. You can refer to Get value from cache document how you can retrieve the value.

    The workaround will be to create a new API with different cache policies to retrieve the individual cache values and utilize this API in your code/custom tool.

    0 comments No comments