2011-12-24, 07:47 AM
We've been researching this, because one page of posts on our forum (10 posts by default) is over 100 queries, typically 98-115.
(Disclaimer: We're running 1.6.4 and haven't updated all of our plugins yet - waiting till we upgrade.)
We've discovered these things:
Fastrep (1.3.1) adds TWO queries per post: one to show the rep buttons and one to show who repped and how much rep was given. Our members REALLY like this feature and would love to see this done with one query- it would decrease the default thread view by ten queries (a 50% savings). If the author wanted to get clever he could even reduce it to one query per page and use javascript to place all of the values in after.
Google SEO (1.1.13) adds one query per post. This can be remedied by not using the the SEO-friendly username link redirect.
MyAdvertisements adds two for every post looking for zone_3 whether or not you use it or not. Removing zone_3 from your template removes half of these queries, but he hard-codes another query into his plugin file at line 490 (version 1.9.2)
Not included in the above view, but on the homepage, Prostats adds TONS of queries. We removed some of the fluff and now have it whittled it down to just showing recent posts, but it's still around 30 queries to show the ten latest posts.
(Disclaimer: We're running 1.6.4 and haven't updated all of our plugins yet - waiting till we upgrade.)
We've discovered these things:
Fastrep (1.3.1) adds TWO queries per post: one to show the rep buttons and one to show who repped and how much rep was given. Our members REALLY like this feature and would love to see this done with one query- it would decrease the default thread view by ten queries (a 50% savings). If the author wanted to get clever he could even reduce it to one query per page and use javascript to place all of the values in after.
Google SEO (1.1.13) adds one query per post. This can be remedied by not using the the SEO-friendly username link redirect.
MyAdvertisements adds two for every post looking for zone_3 whether or not you use it or not. Removing zone_3 from your template removes half of these queries, but he hard-codes another query into his plugin file at line 490 (version 1.9.2)
Not included in the above view, but on the homepage, Prostats adds TONS of queries. We removed some of the fluff and now have it whittled it down to just showing recent posts, but it's still around 30 queries to show the ten latest posts.