You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
As I've discussed before, TheBeerHouse application, as written, requires a round-trip to the database on every page request in order to fetch the list of roles the current user belongs to. This blog post discusses how to easily cache the list of roles a user belongs to, thereby avoiding those round trips and speeding page response times.