I’m new to apigee, pls enlighten me about how caching in apigee works or how I could do the ff. in apigee.
I want to create a cache that has this unique identifier named SessionID and associate with it are some other parameters. I was able to do this by using attributes to add additional information to the token on token creation. So whenever I add an attribute companyName on my GenerateToken policy, I could call it on another proxy with just accessToken.companyName to display/use its value. But without having an accessToken yet. How do I do that with a PopulateCache Policy?. Is it possible to do there?. .
I basically want to store multiple attributes to cache and reference the attributes via the session ID and call it much like I could do with accessToken.
If this cannot be done. Is it really just okay to create multiple CacheKeys and call the values related to it on LookUp Cache?, will there be performance issues or is this how its really done?. I was just thinking that this is like creating multiple tables and relating this tables to one another as they are basically for the same session ID anyway and could possibly slow down the process all the while this could be in a single column of the table if this is a table…
So if I’m gonna implement Unique multipleCacheKeys and storing each attribute to it. I will then have the following Unique CacheKey names to call the correct attributes I need then?. (BTW, the names after the CodeChallenge name is the attributes I need to store in my session of where I want it be stored in a single SessionID if only allowed.)
CodeChallenge+Challenge
CodeChallenge+ClientID
CodeChallenge+redirectUri
CodeChallenge+scope
CodeChallenge+challengeMethod
By the way, what is Apigee Cache browser wise. It it the one responsible for creating cookies in the browser?.