I noticed this code today...Does anyone know how to cache ns_sets correctly? Cachng this query would be a big performance help for dotLRN.
ad_proc -public list_users {
{-rel_type dotlrn_member_rel}
community_id
} {
Returns the list of users with a membership_id, a user_id, first name,
last name, email, and role.
AKS: uncaching this until we figure out how to cache ns_sets correctly
} {
return [dotlrn_community::list_users_not_cached \
-rel_type $rel_type \
-community_id $community_id
]
}
ad_proc -private list_users_not_cached {
{-rel_type:required}
{-community_id:required}
} {
Memoizing helper
} {
return [db_list_of_ns_sets select_users {}]
}
Request notifications