Tuesday, 3 September 2013

How to invoke Rails cache sweeper from a rake task?

How to invoke Rails cache sweeper from a rake task?

References

Reference NO 1

http://stackoverflow.com/questions/15165358/how-to-invoke-rails-cache-sweeper-from-a-rake-task

Reference NO 2

http://www.pixellatedvisions.com/2009/02/26/remotely-flush-your-page-and-fragment-caches-using-rake-and-capistrano

Reference NO 3

http://dev.mensfeld.pl/2011/07/using-rails-sweepers-outside-controllers/

Reference NO 4

https://www.ruby-forum.com/topic/178313

Reference NO 5

http://www.madebymade.co.uk/blog/2013/08/cache-sweepers-invalidating-caches-from-outside-the-controller/

Reference NO 6

http://guides.rubyonrails.org/caching_with_rails.html

Reference NO 7

http://stevencummings.name/2010/09/07/

Reference NO 8

http://techthereq.tumblr.com/post/13375604886

No comments:

Post a Comment