Home

Forum

Archives

Tags



Plugins:


AddCategory

AjaxRating

Blacklist32

BlacklistStats

BlogJanitor

CommentRegistration

DefineCommentPending

EntryPost

FastSearch

FlickrPhotos

FormatList

MTCategoryCommentCount

MTDisguiseCommentURL

MTDisguiseTrackbackURL

MTDynamic

MTTrackbackEntry

PluginNetwork

SmartRebuild

SpamFirewall

TemplateInheritance

TrustedCommenters







Smart Rebuild - Faster Category Rebuilds

Keep track of this discussion by subscribing to the RSS feed for this discussion thread
Author Message
Mark







PostPosted: July 31, 2006 3:41 PM 

Introducing Smart Rebuild, a plugin for Movable Type that speeds up rebuilding. Version 1.0 of this plugin specifically addresses the speed of rebuilding category archives from the MT admin interface.

Do you need this?

  • If category rebuilds are taking a long time, you may want to try Smart Rebuild.

  • If you are getting 500 - Internal Server Errors when rebuilding, you may want to try Smart Rebuild.

  • If you have a blog with a large number of entries and/or a large number of categories (or both), you may want to try Smart Rebuild.

Download: SmartRebuild.zip

Installation:

1. Expand zip file and upload the "Smart Rebuild" directory to your "plugins" directory within Movable Type (this is often something like /cgi-bin/mt/plugins).

2. Try it by clicking the "rebuild site" button from the left menu and choose "Rebuild All Files" or "Rebuild Category Archives Only".

You may want to time your category rebuilds before installing the plugin, and then again after you install it. This will help give you a sense of the improvement, which will vary depending on your site.

Tested with MT 3.2 and 3.31.

Future versions of Smart Rebuild may contain further rebuild optimizations.

Bobb Menk [TypeKey Profile Page]

Posts: 4

Reply: 1



PostPosted: August 17, 2006 4:01 PM 

This does the build a lot faster but appears to make some assumptions about the results that I don't quite understand. All the index pages get output as index.html.static rather than as simple index.html - is that by design? Some php convention perhaps? For a variety of reasons my blogs need to be output as static pages not dynamic. Can this be tweaked to allow for that? Or will it just not work in my situation.

Thanks.

Mark Carey [TypeKey Profile Page]

Posts: 150

Reply: 2



PostPosted: August 18, 2006 6:36 AM 

Bobb,

This plugin should not cause index pages to get output as you indicate. I use it on many blogs and they are 100% static publishing. This plugin has nothing to do with PHP publishing, and in fact, the current version only addresses category rebuilds, not indexes, as you mentioned.

What are the publishing settings for the blog in question (all static or "set each templates build options separately")? If you can provide additional details, that would help. I reall can think of how this plugin could be causing this problem, but if it is, I would really like to fix it.


Bobb Menk [TypeKey Profile Page]

Posts: 4

Reply: 3



PostPosted: August 18, 2006 3:04 PM 

Mark

Thanks for the response - you were right. The problem was caused by me forgetting that I had experimented with dynamic php building of this on my development server and forgotten to reset the config.

So I changed it all back to static publishing and ran it with Smart Rebuild. While I saw some speed up in the category rebuilds, I didn't notice any real difference in the time it took for the individual page rebuilds.

Should I expect to see an improvement on the individual page rebuilds? Or does this just operate on the categories?

Thanks. Sorry for the initial confusion.

Bobb Menk

Mark Carey [TypeKey Profile Page]

Posts: 150

Reply: 4



PostPosted: August 18, 2006 3:36 PM 

Hi Bobb,

As I mentioned in the orginal entry above - and in my reply to you - the current version of this plugin only addresses category rebuilds. This version won't improve individual archives building. I am currently working on a new version that I hope will speed up individual archive rebuilding. Stay tuned...

David [TypeKey Profile Page]

Posts: no

Reply: 5



PostPosted: August 20, 2006 5:42 PM 

Has anyone found that this plugin does, actually, nothing? And that you have the same timeout problems as before?

Mark Carey [TypeKey Profile Page]

Posts: 150

Reply: 6



PostPosted: August 21, 2006 10:04 AM 

David, the performance improvement of this plugin will be more noticeable on some blogs than others. As mentioned above, blogs with a large number of entries will show more improvement that blogs will few entries. Also note that this plugin speeds category rebuilds, but does not (yet) speed up the rebuilding of other types of archives.

The best way to test the performace impact is to first disable the plugin and choose "rebuild files" and then "Rebuild category Archives", and time how long it takes to complete. Then, enable the plugin and do the same.



Subscribe to this discussion: Email | RSS

Join the conversation:









Remember personal info?





Very Happy Smile Sad Surprised
Shocked Confused Cool Laughing
Mad Razz Embarassed Crying or Very Sad
Evil or Very Mad Twisted Evil Rolling Eyes Wink
Powered by MTSmileys
Check to Subscribe to this Comment:
(email field must be filled in)



Subscribe Without Commenting
















Creative Commons License
This weblog is licensed under a Creative Commons License.