X-Cache-Key calculation is not working with query parameters #12919
Unanswered
phelipe-martins
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to calculate the X-Cache-Key but for some reason the result is different from the real value. Here is an code example:
The result is 3f9f36588c330b6c0a2ac3802fcc3b258954bdd1d7be98f83fcbe8f38ba7de28
But this is the real value for X-Cache-Key:
This is happening only when the url have query parameters. I tried to put the key v in the vary_query_params field of the plugin and also left it blank but either way the result is different. What could be the problem in the code that I sent?
Kong Version: 3.2.2
Beta Was this translation helpful? Give feedback.
All reactions