« error code 500 | Main | Fast Search v1.5 - Several New Features »

Smart Rebuild v1.7

Note: There was a major bug in v1.5 that is fixed in this version. If you are using v1.5, you must upgrade to v1.7.

Smart Rebuild v1.7 provides several new features, including:

  • rebuild "chunking" of category rebuilds. When you rebuild your categories, they will get rebuilt in chunks, similar to the way Indvidual Archives get rebuild, a certain number at a time. Of course, this includes the category rebuilding optimizations from Smart Rebuild v1.0. This new chunking feature will be especially helpful for blogs that have many categories (40 or more, in most cases).
  • background rebuilding of category and date-based archives when a new comment is posted. This reduces the amount of time that it takes to post a comment.
  • background rebuilding when items are created, edited, junked, or deleted from the Movable Type admin interface. This means less time waiting when you conduct these tasks.

Note that background tasks will not reduce the server load nor the actual time it takes for pages to be rebuilt. The benefit of background tasks is that the rebuilding is done "in the background", meaning that the process of posting a comment, saving an entry, junking comments, or other task can continue without waiting for the rebuild to complete. In short, it saves time for commenters, authors, and blog admins.

Requirements

MT 3.3x

Note: This version of Smart Rebuild is not suitable for use on MT4+.

Installation Instructions:

  • Download the plugin and upload to the 'plugins' directory in your Movable Type installation.
  • Check to see if background tasks will work on your server. To check, you can use a test script that comes with MT. Go to http://www.yourmtdomain/cgi-bin/mt/mt-tesbg.cgi (modify this address so that it points to the file in your MT directory). If you get message that says "Background tasks are available", then you can turn on this option (see the next step). If background tasks are not available, you should not enable it, as it may cause errors.
  • If you haven't done so previously, turn on background tasks by adding the following line to your mt-config.cgi file:

    LaunchBackgroundTasks 1

Download Smart Rebuild

Non-commercial use - FREE

Commercial use - $97.00

Download Now

Membership required, please sign-in or register:

As always, suggestions and feedback are appreciated. Please reply to this entry.

Rate this entry:

  • Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 5/5 (2 votes cast). Powered by the Ajax Rating plugin.

TrackBack

TrackBack URL for this entry:

Listed below are links to weblogs that reference Smart Rebuild v1.7:

» Golconda Jewellery: A Family Tradition from dr email phil
Golconda Jewellery: A Family Tradition to Live Up ToAmerican Chronicle,CA-Mar 22, 2007Nicolas Capistrano) in front of the present Phil. Women's [Read More]

Comments (6)

Su [TypeKey Profile Page]:

(Just because I'm a nitpick)
I'd suggest adding a "Check that background tasks actually work" bullet point above. Neither the install process nor mt-check.cgi currently do so for you, so if it's not on, then the user quite possibly isn't aware of the bizarre problems that can come about from turning it on without actual support.

Beyond that: Yay!

Kevin [TypeKey Profile Page]:

Ditto to Su's comment. Those running under configs like FastCGI who have had to turn off background tasks, usually have done so for a reason. For the 99.99% of the rest of us though this looks cool.

Su and Kevin,

I have added a bullet above in the install instructions section regarding this. Let me know if that fits the bill.

David [TypeKey Profile Page]:

One quick thing: the URL to the background tasks check CGI file is incorrect, which might confuse some copy/pasters (like me). The file URL is missing a "t":

http://www.yourmtdomain/cgi-bin/mt/mt-testbg.cgi

>> Those running under configs like FastCGI who have had to turn off background tasks, usually have done so for a reason.

hmmm. I have problems saving Entries with Background Tasks turned ON and FastCGI running. (Red Hat with Apache).

Read it's supposed to work, but no luck. Probably redundant to have both running (background tasks & FastCGI)

Tom, everything I have read says it is not supposed to work. When you are running FastCGI, you have to turn off background tasks, unfortunately. :(

Post a comment

Gift idea: Buy Seinfeld DVD box set, complete 9 seasons!