wr
hn
Top
New
Best
Ask
Show
Jobs
Back
n
njknsdf
Joined 10 years ago
Karma
-7
Submissions
8
Member since
Jun 10
View on Hacker News
Recent submissions
Comment · 10 years 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.
Comment · 10 years 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.