Is it possible to output/debug a custom cache key?

We received this from a customer:

is there any possibility to output/debug CustomCacheKey ? setting it like this doesn’t seem to work

      new CustomCacheKey()

because we get


What you are receiving in the output is the internal representation of the custom cache key. Instead you should you try to get the values of the headers that are participating in your key:


The references there are embedded values that the XDN router allows you to evaluate at runtime. You can read more about them here.

1 Like