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
As always, suggestions and feedback are appreciated. Please reply to this entry.

Comments (7)
(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!
Posted by Su
|
August 22, 2006 7:04 PM
Posted on August 22, 2006 19:04
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.
Posted by Kevin
|
August 23, 2006 10:40 AM
Posted on August 23, 2006 10:40
Su and Kevin,
I have added a bullet above in the install instructions section regarding this. Let me know if that fits the bill.
Posted by Mark Carey
|
August 23, 2006 10:49 AM
Posted on August 23, 2006 10:49
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
Posted by David
|
August 24, 2006 11:30 AM
Posted on August 24, 2006 11:30
>> 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)
Posted by Tom Keating
|
December 21, 2006 12:33 AM
Posted on December 21, 2006 00:33
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. :(
Posted by Mark Carey
|
January 10, 2007 8:54 AM
Posted on January 10, 2007 08:54
Mark - First off, thanks for making this plugin - my commenting and posting times have reduced significantly.
That said, when rebuilding my entire weblog, the pop-up window always seems to hang right after finishing with "Publishing Entry archives..." And by "hang", I mean not do anything for hours (I left it overnight once, to no avail). I suppose it is still rebuilding in the background, but the internet window certainly is not showing it.
Do you know what the cause of this might be, apart from my wonky and occasionally "entertaining" MT install?
Posted by Linoge
|
November 24, 2008 6:54 PM
Posted on November 24, 2008 18:54