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
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
On 2006-03-24 02:50:33 -0500, “Tom F.”
[email protected] said:
Check out this plugin -
Peak Obsession
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