The Manage Groups page in Civi 4.5+ displays counts of contacts in each group, and in the process refreshes the smart group contact cache. We've turned off this cache elsewhere as it takes 10mins to complete (we have a lot of groups) - but the Manage Groups page seems to force a refresh. Is there a way to disable this refresh?
I can't see a setting, so am assuming it'd involve commenting out some code. I found the code in Contact/BAO/Group.php that I think disables the count of the contacts, but can't figure out where the cache-refresh itself takes place.