<span class="q"> It sounds like it'd be cheaper and allow you to make better use of cache, so I'd assume it's good.<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">
<div><br> </div>
<div><span style="WHITE-SPACE: pre"></span>Being able to rely on a cache will impact your design and will generally be good. I do some things very similar to this that involve grabbing some list-like data, and then fetching items related to items within the list. As many as I can get come from cache, and the rest have to be fetched from the source, and then placed back into the cache.
</div></div></blockquote>
<div> </div></span>
<div>How about storing the list of the user's friends in cache also? The only problem here though, is what if the user has tens of thousands of friends, for instance?</div>