Files
twenty/packages
Weiko ebc25c8695 Add redis to useMetadataCache yoga plugin (#5194)
## Context
@lucasbordeau introduced a new Yoga plugin that allows us to cache our
requests (👏), see https://github.com/twentyhq/twenty/pull/5189
I'm simply updating the implementation to allow us to use different
cache storage types such as redis
Also adding a check so it does not use cache for other operations than
ObjectMetadataItems

## Test
locally, first call takes 340ms, 2nd takes 30ms with 'redis' and 13ms
with 'memory'
2024-04-26 19:27:09 +02:00
..
2024-04-26 17:52:13 +02:00
2024-04-26 17:52:13 +02:00
2024-04-26 18:22:36 +02:00
2024-04-26 17:52:13 +02:00
2024-04-26 17:52:13 +02:00