node-cache
node-cache copied to clipboard
Cache per req.body variable
Hi,
I have a route that will send back one of two objects given what's sent in req.body.variable
That caching technique has been great for that same route when only one version of the object was returned, but I can't figure out how to make it work when the output depends on the input variable
What would be the correct way to do this?
thanks!