public
Description: A Rails plugin for sweeping the entire page cache.
Homepage:
Clone URL: git://github.com/norbert/lazy_sweeper.git
Norbert Crombach (author)
Wed Mar 19 07:09:42 -0700 2008
name age message
file LICENSE Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
file README Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
file Rakefile Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
file init.rb Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
directory lib/ Wed Mar 19 07:45:44 -0700 2008 Import existing files. [norbert]
README
= LazySweeper

This is one of the best solutions for the second hardest thing in CS. It is based on a post by the guys at Fingertips 
(1).

Have fun sweeping your entire page cache.

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

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


(1):: http://www.fngtps.com/2006/01/lazy-sweeping-the-rails-page-cache
(2):: http://www.railsenvy.com/2007/2/28/rails-caching-tutorial#clearing