From b73401d5d41973a85bd98fd638d893ce996766a9 Mon Sep 17 00:00:00 2001 From: Pamesh Bansal <58655668+pamesh12@users.noreply.github.com> Date: Sat, 14 Dec 2019 18:56:23 +0530 Subject: [PATCH] Update README.md --- CacheDemoApi/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CacheDemoApi/README.md b/CacheDemoApi/README.md index 8dffdab..bfcc173 100644 --- a/CacheDemoApi/README.md +++ b/CacheDemoApi/README.md @@ -10,8 +10,9 @@ Client --> Apigee API secured by OAuth (CacheDemoApi) --> External API secured b 1. [ExternalApi](../ExternalApi) - Dmeo API for external API secured with OAuth. **Flow for Apigee API Caching.** -1. **LookupCache** policy is done before calling external OAuth API. -1. If cache returns null, call to external OAuth API is done and access token in response is cached using **PopulateCache** policy. +1. **LookupCache** policy is used to look for access token before calling external OAuth API. +1. If cache returns null, call to external OAuth API is made. +1. Access token from above step in response is cached using **PopulateCache** policy. 1. If cache returns value, same is used and call to External OAuth API is skipped. -**Note Cache expiration time must be set less than token exipres_in value.** +**Note: Cache expiration time must be set less than token exipres_in value.**