Running this filter a bunch of times on a page is suboptimal since it will never change over the course of a render. It is a better design to have the ``global_settings`` context processor add an ``effective_instanceuser`` to the context once.