Caching Policies sample code?

Hey guys, other than docs are there any examples/samples of all the caching policies such as Invalidate,Lookup,Populate Cache Policies?

Any Github resources or any other resource would be great.

0 4 1,130
4 REPLIES 4

Dear @Barahalikar Siddharth ,

Did you get a chance to explore api-platform-samples repo in github which has examples of above policies ?

You can find response cache samples here in above repo.

Cheers,

Anil Sagar

Yeah @asagar I have them, I looked into outbound-oauth and pagination examples.

I know about response cache

Other than these two are there any other examples which have cache examples?

Thanks.

Here's one that uses Populate and Lookup for access tokens:

https://github.com/apigee/api-platform-samples/tree/master/sample-proxies/outbound-oauth

adas
New Member

@Barahalikar Siddharth Here's a sample proxy that you can refer to, it has samples for lookup cache, populate cache, invalidate cache etc. Let me know if this helps.apigee-discovery.zip