Forum Discussion

Daniel_Gonzale1's avatar
Daniel_Gonzale1
Icon for Nimbostratus rankNimbostratus
Nov 05, 2014

RAM Cache and POST Requests

Is it possible to store responses to POST requests in RAM Cache using the URI and body as keys?

Let's say I have a resource

/deals
that consumes a json body containing details of a product and returns the available deals for such product. This request doesn't modify any data in my backend.

Should I use an IRule to do this?

Thanks in advance!

  • Hi Daniel we cache only responses in a cache. Having sais that you could Work on a irule to collect post content to replay it, but what would be the benefit? What is your use case ?