Gerald Onyango (https://twitter.com/futuregerald) discusses authentication, and how it affects performance. He compares using session cookies vs JWT (JSON Web Tokens) tokens, and the benefits of JWT which can be used to authenticate requests and pass data on the frontend, on the CDN edge, in functions, and on third party servers, without having to make round trips back to your database for each request.

Slides

This talk was given at the NY Web performance Group on Sept. 26, 2018, along with the JAMstack NYC Meetup.