Skip to content

A Rails plugin for sweeping the entire page cache.

License

Notifications You must be signed in to change notification settings

norbert/lazy_sweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rails plugin for sweeping the entire page cache.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages