Tagged: slow blog archive page Viewing 2 posts - 1 through 2 (of 2 total) Author Posts April 5, 2013 at 8:38 am #21867 halasytParticipant Hi, The render of blog archive pages was super slow, since almost 230 SQL queries with facebook and twitter things were slowing everything. I just have the normal 10 posts showing on archive pages. I commented out these lines which solved the problem, which took the number of database queries down to 58 on blog archive pages, so these pages are loading quickly now. Before: TOTAL QUERIES: 298 TOTAL QUERY TIME: 755.5 ms After: TOTAL QUERIES: 58 TOTAL QUERY TIME: 100.2 ms So these functions are super inefficient, I really think you should either rewrite them, or drop them from the next version: echo '<div class="like-count minor-meta">'; echo avia_facebook_like($id); echo '</div><span class="text-sep like-count-sep">/</span>'; echo '<span class="tweets-count minor-meta">'; echo avia_retweet($id); echo '</span><span class="text-sep tweets-count-sep">/</span>'; Best, Tom April 5, 2013 at 9:13 am #113397 DudeModerator Hi! Thanks for the hint – I marked this thread for Kriesi. Best regards, Peter Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Slow blog archive page’ is closed to new replies.