Hi Team,
I am having 2 proxies where cachekey I want to print in different proxy : I have populate cache policy attached in another proxy and lookup I am using in another proxy , is it possible to print :
populate cache policy (proxy1) :
Your use case of using 2 different proxies will not work with Scope set to "Application" as per the docs: https://cloud.google.com/apigee/docs/api-platform/reference/policies/populate-cache-policy#scopeelem...
You should use Scope of "Global" to share across proxies.
Thank you, @kurtkanaskie . I have a small clarification: If I use the global keyword, do I need to use it for both proxies? Additionally, regarding the cache name and cache key for for 2nd proxy should the format be something like apifactory__test__apiAccessToken?
I think if you just change the Scope to "Global" and ensure the CacheKey/KeyFragment value is the same in both proxies and policies it should work, but I've not tested it.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |