Response Cache Not Working?

pxzxz1
New Member

9746-apigee3.jpg

Hello @Anil Sagar @ Google and other fellow Apigeeks

How do I know if the response cache is working as the time executed is not constant. At times the time increased, sometimes decreased.

0 6 145
6 REPLIES 6

Well, there are few ways you can make sure that the cache is working, one visual way is you can look at the Transaction map and tell it is working,

9750-cache1.jpg

----

9751-cache2.jpg

---

9752-cache3.jpg

In the map, you can see that when the cache is fetched from the policy then the backend is not invoked.

Apigee has two levels of cache L1 & L2. One is stored at MP level and other in DB level and hence the difference in timing.

Hello Siddharth

May I understand why your cache is not at the Response flow, instead both caches sit at Request flow?.

It is in the Response flow,

9753-1.jpg

---

9754-22.jpg

Hello Siddharth

I'm unsure why I did not get the same as you. Can you share with me this file for me to have a look?

Hello Siddharth

Thanks for the file. Why did you place the Response Cache in the PostFlow at the Target Endpoint instead of Proxy Endpoint? What is the difference?