Collapsed categories
Since I'm not so expert on the performance-side of things, I was just wondering: how important is not grab and process the data of collapsed categories?
I'm asking this because if these data would be included even if the category is collapsed, it would be much easier to toggle categories without reload the page (i.e. we wouldn't need to fetch data through AJAX to "open" the category) and we could drop the entire table in favour of using the "normal" smc_Toggle (and so themes, right?).
Re: Collapsed categories
Reply #1 –
Well, they get excluded at query time, and they get to bypass the query board access fun, which is surprisingly inefficient.
On the other hand, if a category is collapsed, how likely is it someone is going to reopen it again? Most of the time it would be better to not bother fetching it anyway - and it saves bandwidth. Never underestimate the value of saving bandwidth.