Hi Eric,

The idea you have is sound, however a generic solution to this is a very 
hard thing to create. The main reason being 
that it depends on the server side.  So a solution that works in your case 
will seldom work for anyone elses.

Also there are a lot of unknown variables. like the size of your poster 
base, and the size of every profile
If those are reasonable small a solution might be, to send off the entire 
thing in 1 go, and pre-populate your cache

Also you might include the profiles in the initial request on the server, 
and again pre-populate your cache

another solution is entire client-side. before rendering you page, loop 
through your result, compare to the cache, and 
fetch the missing profiles in a single request. (Here I'm assuming your 
server can provide a suitable answer!). when this
request comes back, stuff it in the cache again, and then render the part 
of the page where you need this.

Regards
Sander


-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to