Forum: Ruby on Rails Expiring cached actions outside of ActionController

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A7a7500626778d47f8fd974f5564cf3e?d=identicon&s=25 Ross Karchner (Guest)
on 2006-03-24 08:25
(Received via mailing list)
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
3f900b38ec3b2c45427c354722fa4ce3?d=identicon&s=25 Tom Fakes (tomfakes)
on 2006-03-24 08:50
(Received via mailing list)
Check out this plugin -
http://wiki.rubyonrails.com/rails/pages/Action+Cac...

Point 6 - setting a Time To Live - allows you to expire the cached
actions
by time without needing a sweeper
A7a7500626778d47f8fd974f5564cf3e?d=identicon&s=25 Ross Karchner (Guest)
on 2006-03-24 17:36
(Received via mailing list)
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+Cac...
>
> 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
This topic is locked and can not be replied to.