views/index: prefetch related data to decrease number of queries
Prefetch related data to decrease number of queries by nearly O(N). Using testing data I managed to decrease number of queries from ~2k to just 32 for index page.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Prefetch related data to decrease number of queries by nearly O(N). Using testing data I managed to decrease number of queries from ~2k to just 32 for index page.