public
Description: A Rails plugin for sweeping the entire page cache.
Homepage:
Clone URL: git://github.com/norbert/lazy_sweeper.git
name age message
file LICENSE Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
file README.markdown Wed Dec 02 22:22:17 -0800 2009 Update readme [norbert]
file Rakefile Wed Dec 02 22:18:08 -0800 2009 Add tests [norbert]
file init.rb Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
directory lib/ Wed Dec 02 22:18:08 -0800 2009 Add tests [norbert]
directory test/ Wed Dec 02 22:18:08 -0800 2009 Add tests [norbert]
README.markdown

LazySweeper

This is certainly one of the easiest solutions for the second hardest thing in computer science. It is based on a post by Thijs at Fingertips.

Have fun sweeping your entire page cache.

Add models by calling LazySweeper.observe in an initializer. You can also call LazySweeper.run manually if needed.

For more information, you can check the Rails Envy article on page caching that also ripped the original code.