movabletype/movabletype — pull request #12 by hirata (2012-08-31 08:12:03+00:00)
Title: Improvement rebuilding speed with caching Publisher->archive_file_for

WeblogPublisher->archive_file_for() is called at rebuilding to generate PermaLink and ArchiveLink very many times. Here is a patch to cache results of the archive_file_for(), which reduces rebuilding time about 20%.

And to save call MTArchvieDate 2 times in MTFileTemplate, I add a special pattern for "%y/%m" in MTFileTemplate format parser. "%y/%m" is the special pattern used in default archive map path.

Thanks,