On Wed, Mar 25, 2009 at 12:57 PM, JT <[email protected]> wrote: > However, I had never notice any slowness. How many registered > systems do you have? I was wondering about the same thing.
> I'm actually in the middle of implementing a more generic memoization > utility so that we can (ideally) pick any function and cache the > result. You've probably already thought about this, but I'll say it anyway. It'd be nice to give an option to cache in the request, in the session, and in the application. The reason for the request cache is that some widgets (like the datagrid) make a call to the same functions that access the database over and over. Instead of restructuring the code, it'd be nice to just cache the value of those functions in the request, so they get called only once per request. It would also be very nice to have a simple function to flush the caches (for debugging). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
