Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
njknsdf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
njknsdf
10y ago
Against a defenseless country looking to surrender that couldn't retaliate. Will be a bit different if it initiates nuclear war against Russia or China.
2.
▲
by
njknsdf
10y ago
You can store the user info in the JWT so you don't need to hit the database to get user info every time. I usually just store an id in each issued token and store/remove it from redis or memory as needed for invalidating it.