For even faster gains on high-traffic Laravel applications, you can cache authenticated users to avoid a trip to the database.
In this snippet, I'll show you how — but this isn't a quick fix; we'll have to consider what happens when the user gets updated or deleted.
Let's cache!