Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Rails plugin for sweeping the entire page cache.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE
README.markdown
Rakefile
init.rb

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.

Something went wrong with that request. Please try again.