I find myself quite often, in a view's action bar, having to hide action buttons based on either an ACL role or a value in a profile document. If I have 10 actions, and each one is hidden dependent on a profile document setting, then that is 10 lookups to a profile document (1 for each action).
Idea: could it be possible to have a global declarations/initialise event on the view action bar element that sets a global variable (or multiple variables) that can then be referenced by each and every action button? That way, one call to the profile document and one variable set; but each action button can reference that variable. Much quicker to load the view that way.
Hope this makes sense to all those of us who want performance-enhanced apps.