How to get response from responce cache using javascript policy

How to get response from responce cache using javascript policy

I am storing data using response cache and i need to filter the data in response cache how can i get the data stored in cache in javascript policy.

0 1 148
1 REPLY 1

Hi @Dinesh Potti

The whole reason of using Response Cache to send the complete response when the same request is made. This includes not only the payload but things like Headers as well. If you want to filter certain information before responding then you should use the Cache Resource and then using the out of the box policy like Lookup Cache - get that value and then probably use JS policy to filter it.