dingo / dingo/api

Cache user select

Open
#1,370 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi all,
I'd like to cache the query used in looking up for user:
"select * from users where users.id = ..." (usually jwt sub field)
Every single call to the api fire up this query but I cannot
find a way to cache on redis the result, even only for one minute.
Have you any hint on this topic?
Thanks,
Francesco

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.