Is there a better (less server intensive therefore slow) way to retrieve entries based on a category setting i.e. this is what we currently use:-
{exp:channel:categories channel="products" style="linear"}
{if show_in_main_menu == "Yes"}
{exp:gwcode_categories cat_id="{category_id}" incl_self="no" style="linear" disable="member_data|pagination|categories|category_fields"}
[ENTRY DATA]
{/exp:gwcode_categories}
{/if}
{/exp:channel:categories}
This currently takes about 3 seconds per iteration on our site (and we have to do something similar in 2 other locations) so we're getting ~10 second page load times which the client isn't happy about!