There are several add-ons to show used prefixes in forums.
If reduce the view to users (view) and guests (no view), makes it sense to cash these values somewhere in xf_forum.cash_prefix?
Just now we have:
green (5), red (17), yellow (8);
we save an array green=>5, red=17, yellow=>8 in forum.cash_prefix
we need to count this one time.
Now we have to react for every change of a prefix here.
I have checked the queries with and without some prefix_addons; there was no big difference.
Is there any sense saving these values in xf_forum?
If reduce the view to users (view) and guests (no view), makes it sense to cash these values somewhere in xf_forum.cash_prefix?
Just now we have:
green (5), red (17), yellow (8);
we save an array green=>5, red=17, yellow=>8 in forum.cash_prefix
we need to count this one time.
Now we have to react for every change of a prefix here.
I have checked the queries with and without some prefix_addons; there was no big difference.
Is there any sense saving these values in xf_forum?