One of the major issues in our redesign of MyBiggestComplaint.com was trying to cut down on queries. Comment plugins are query monsters and resource hogs that can slow a site.


Advertise With Us

For MyBiggestComplaint.com, we switched to Brian’s Latest Comments as rewritten by Donncha because that version caches comments. Cacheing comments cut our page queries in half on some pages considerably speeding up the site.

The plugin has one quirk. It links user comment author names to “http://”, the default author url for Wordpress. To fix the quirk, open Donncha’s version and look for line 146, change

if( $commenter->comment_author_url != '' ) {

to

if( $commenter->comment_author_url != ('' || 'http://') ) {

This change will make the plugin link a user comment author’s name to the comment url if the author has the default Wordpress url of “http://”.

"Speed Up Your Blog With Cached Comments" by Tommy was published on September 23rd, 2007 and is listed in Wordpress.

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Comments on "Speed Up Your Blog With Cached Comments": 1 Comment

  1. Donncha O Caoimh wrote,

    Good catch! Thanks for the link. I think I’ll have to make another release soon with that fix.

Leave Your Comment

Subscribe without commenting

Click Screenshots To Enlarge

  • Wordpress Theme Skin for Shifter - Over It (Glass)
  • Change between thin, wide and full width layouts without destroying your site structure.
  • Wordpress Theme Skin for Shifter - Over It (Light)
  • Choose between single or double sidebars and then shift sidebar width or position with the flip of a switch.
  • Wordpress Theme Skin for Shifter - Lizard (Dark)
  • One, two or three column layouts have never been easier.
  • Wordpress Theme Skin for Shifter - Brown
  • 15 skins let you choose the end look for your site without destroying the structure of your perfect layout.
  • Wordpress Theme Skin for Shifter - News Red
  • Shifter makes designing your site easier, faster and more enjoyable - all with the flip of a switch!

Wearing the Basic Skin for Shifter by Buzzdroid