12 Caching auth sessions

Before you begin: Join our book community on Discord

Give your feedback straight to the author himself and chat to other early readers on our Discord server (find the "rust-web-programming-3e" channel under EARLY ACCESS SUBSCRIPTION).

https://packt.link/EarlyAccess/

While our authentication sessions work, we might as well get more control over them, and explore the concept of caching at the same time. We will do this by embedding our own Rust code directly in a Redis database, so we can perform a range of checks and updates in one call to the cache as opposed to making multiple calls to a database. Caching is a great ...

Get Rust Web Programming - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.