[feature request]
In apikeys (and same code in oauth and oauthv2)
|
cache.store(apiKey, decodedToken); |
A distinct expiration time is known but not passed to the cache. This could benefit
- less IPC transfer for objects that are expired
- simpler cache retrieval logic (memored already checks the TTL on retrieval)
- proactively evicting stale JWTs from cache making room for more active apiKeys
[feature request]
In apikeys (and same code in oauth and oauthv2)
microgateway-plugins/apikeys/index.js
Line 201 in 94751da
A distinct expiration time is known but not passed to the cache. This could benefit