Wednesday, December 15, 2004
Caching the results of a method

Sometimes caching at the UI isn’t always ideal.  Of course you always try to cache in the presentation layer, but sometimes I’ve been left with the feeling that I wish I could cache lower down the call chain.  Here is a post from Peli’s blog about doing just that, and wanted to post about it so I don’t lose the link  :)

You do have the overheard of a ContextBound object, so caching fast methods may even degrade performance, but for that highly intensive method that may be called from 5 different ui’s within the next 3 minutes, this may be an ideal solution. 

Ear candy: Method Man And Redman - 1212





Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):