Ross Karchner
2006-Mar-24 07:25 UTC
[Rails] Expiring cached actions outside of ActionController
In the site I''m building, my models are *almost* never updated within ActionController-- all new data comes in via command line scripts manipulating ActiveRecord directly. Can anyone offer any hints about expiring cached actions without Sweeper? -Ross
Tom Fakes
2006-Mar-24 07:50 UTC
[Rails] Expiring cached actions outside of ActionController
Check out this plugin - http://wiki.rubyonrails.com/rails/pages/Action+Cache+Update+Plugin Point 6 - setting a Time To Live - allows you to expire the cached actions by time without needing a sweeper -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Ross Karchner Sent: Thursday, March 23, 2006 11:25 PM To: rails@lists.rubyonrails.org Subject: [Rails] Expiring cached actions outside of ActionController In the site I''m building, my models are *almost* never updated within ActionController-- all new data comes in via command line scripts manipulating ActiveRecord directly. Can anyone offer any hints about expiring cached actions without Sweeper? -Ross _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Ross Karchner
2006-Mar-24 16:36 UTC
[Rails] Re: Expiring cached actions outside of ActionController
On 2006-03-24 02:50:33 -0500, "Tom Fakes" <tom@craz8.com> said:> Check out this plugin - > http://wiki.rubyonrails.com/rails/pages/Action+Cache+Update+Plugin > > Point 6 - setting a Time To Live - allows you to expire the cached actions > by time without needing a sweeper >Perfect! This is exactly what I need. The conditional-get features (if not the time_to_live stuff as well) ought to be considered for core, especially given 1.1''s focus on more intelligent HTTP. (Although, don''t delay 1.1 for it ;) -Ross http://rossnotes.com