Performance optimizations for forums with a lot of categories