We received this from a customer:
Morning!
is there any possibility to output/debugCustomCacheKey
? setting it like this doesn’t seem to work
setResponseHeader(
"x-debug-cache-key",
JSON.stringify(
new CustomCacheKey()
.addHeader("x-header-1")
.addHeader("x-header-2")
.toJSON()
)
);
because we get
[{"action":"add-value","value":"${req:x-header-1}"},{"action":"add-value","value":"${req:x-header-2}"}]