Cache the Response from a service callout

Is It possible to Cache the Response from a Service Callout Policy (HTTP Type) ?

I need to fetch the renponse only once

1 Like

You can use the LookupCache and PopulateCache policies. Source property of PopulateCache policy will be .content.

Thank You… Do You have a real implementation sample ?

Here is an example,

https://github.com/anil614sagar/advanceddevjam/blob/master/lab4.md

Populate Cache using the callout response from service callout