laravel/laravel.com — pull request #5 by mnishihan (2012-02-23 22:55:08+00:00)
Title: Revamped caching architecture of generated htmls from markdown docs

Hi,

IMHO, the caching architecture in current implementation of Docs controller and Docs library was flawed and nothing but markdown files were cached, as a result the expensive conversion from markdown to html was being performed twice in every request to document pages (one for content and another for sidebar).

So, I've revamped the implementation to cache the generated html contents and implemented an auto regeneration logic of cache files based on modification time of doc files being cached.

Hoping, this change will be pulled to the original code and improve the documentation page response time in live Laravel site.

Thanks