We are implementing a design where in we are planning to cache the response in apigee .If we get a request for “GET INFO”, we make a call and store the response in cache resource. The next call comes to update the INFO , we update the INFO and invalidate the cache populated as part of “GET INFO” call.
So in order to implement this wanted to know which is more preferable :
-
use of response cache with a cache resource.
-
use of a custom resource cache (using populate , lookup and invalidation cache policy).
Our focus is more on performance aspect.