ERXDisplayGroup.filteredObjects cached?
ERXDisplayGroup.filteredObjects cached?
- Subject: ERXDisplayGroup.filteredObjects cached?
- From: OC <email@hidden>
- Date: Tue, 22 Mar 2016 20:21:57 +0100
Hello there,
searching for a bottleneck in my code, I have just bumped into that ERXDisplayGroup.filteredObjects filters again and again and again each time it is called, even though nothing changed in the display group. Is that the intended behaviour? I would rather suppose it would cache and re-filter only when needed.
I happen to bind mygroup.filteredObjects to lots of components in my page, which not surprisingly does not work really fast :)
Anyway, is there an existing solution for this (i.e., cached filtered objects of an ERXDisplayGroup), or am I on my own to DImyself? Not that it would be that much difficult; I just hate to implement in my own and clumsy way, with a possibility to flush the cache too late etc., things which are already done right somewhere :)
Thanks,
OC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden