Microgateway Caching Behavior

Hello All - How do we enable caching of keys on Microgateway configuration ? Currently for every request coming into MG (with Key) is reaching out to Edge to validate it. The JWT which is issued with an expiry time is not getting cached. Hence it taking a toll on performance due to round trip to Edge with every inbound request. We are on the latest version of MG. Thanks for your help.

0 3 366
3 REPLIES 3

Former Community Member
Not applicable

Use the "cacheKey: true" property in the oauth stanza in config.yaml

Thanks for getting back @srinandans. I will test and let you know. Appreciate it much.


Our performace test passed with flying colors. Thanks @srinandans