Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Using a POST variable as a cache key

$
0
0
Hello,
I am caching post requests that bring the same results. I am using the request body as part of the cache key.
The problem is one of the pot variable is a session id that changes with every session. I would like to use a specific post variable as part of the cache key.

Is it possible to read this value and set it as a variable and then use it in the cache key?
Thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>