We have helpers to create fancy selection boxes (see in select_box_helpers.rb). Some of the HTML returned can be quite long when CBRAIN is used by an admin on a service with hundreds of users and groups. Since the set of users and group don't change all that often, it would be convenient to cache the HTML of those helpers and generate them only when there has been a modification to the underlying table (check with the latest updated_at attribute).
We have helpers to create fancy selection boxes (see in select_box_helpers.rb). Some of the HTML returned can be quite long when CBRAIN is used by an admin on a service with hundreds of users and groups. Since the set of users and group don't change all that often, it would be convenient to cache the HTML of those helpers and generate them only when there has been a modification to the underlying table (check with the latest
updated_at
attribute).