Is it possible to skip populating the cache based on the response of the target server? The target server should response with a Http status of 200 and a json object that includes a status property. I have put in my policy (response.content.status == “FAIL”). However regardless of the value of the status property the cache is alway populated.
Sample Target Service Response
{
“status”: “FAILED”,
“message”: “Something bad happened”
}