LookupCache working only ONE of TWO TIMES

Hello everybody,

I do not know why, but when I use "LookupCache" Policy, it brings me the expected result one time, and in the next call it send a empty response to me. And if I try again, it works again. I saw a lot of posts for the same problem, but none of them got the correct answer in the end.

Does anyone can help me?

Thanks

1 3 197
3 REPLIES 3

Do you have an API proxy that reproduces such behavior reliably? IF so please post it.

Have you tried the same policy in a different org? Same results? If not, please contact Apigee Support.

I am also facing the same issue with response cache

Hi @Rodrigo Moreira ,

What is the size of data stored in cache?

If the size is >512KB , then it will be stored only in L1 cache. Hence the data will be stored and populated only in that particular Message Processor.When your next request for the same URL reaches other Message Processor, then you will not be getting the data from cache.

Please check https://docs.apigee.com/api-platform/antipatterns/caching-large

Hope it helps !