-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Goal:
- Currently we make a request to the rbac app on each request in the frontend. There isn't any caching. This slows down our responses considerably. We should cache these (likely with redis) with some sort of timeout (3 min by default) timeout should be configurable via an env variable.
- console dot already provides Elasticache (redis implementation)
Acceptance Criteria:
- Rbac requests are cached with some timeout
- timeout should be configurable via an env variable
- add redis to local docker compose
Testing:
If possible to test against stage rbac instead of ephemeral, you will get more accurate results.