Would it be bad practise to temp cache session's "...
# talk-kratos
a
Would it be bad practise to temp cache session's "/whoami" endpoint result, using redis, to reduce api calls being made to Ory? For example cache for 10 seconds, encrypt the data and cache by request cookies?
c
If you’re using the Ory Network paid account, they provide CDN caching for sessions. In local testing, I’ve implemented in-memory caching to speed things up.