question

KristfNalesnyik-1870 avatar image
0 Votes"
KristfNalesnyik-1870 asked MayankBargali-MSFT answered

Azure API Management Internal Cache - How to see entries.

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@KristfNalesnyik-1870 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.