Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to force apigee not to cache empty results from backend services

How to force apigee not to cache empty results from backend services

0 2 137
2 REPLIES 2

 

lbaskar, create a flag if response is empty using javascript policy in target response flow and the use flow condition to response cache policy as below 
<Step>
<Name>rc_responseCache</Name>
<Condition>( isEmptyResponse != "true" ) </Condition>
</Step>
 

Thanks  for your response pmallikarjuna.