Are cache sweepers used?

After drawing many virtual blank stares in the IRC channel and finding
zero results on the wiki for ‘sweeper’ I’m left to wonder whether
these are actually officially supported, or are on their way toward
being deprecated. Is there a better way of expiring caches on model
saves and deletions?

Sincerely,

Tom L.
[email protected]
http://AllTom.com/

Hi Tom.

On 1/3/06, Tom L. [email protected] wrote:

After drawing many virtual blank stares in the IRC channel and finding
zero results on the wiki for ‘sweeper’ I’m left to wonder whether
these are actually officially supported, or are on their way toward
being deprecated. Is there a better way of expiring caches on model
saves and deletions?

I use several Sweepers in my Rails app with great success. I can’t
vouch
for whether they are “officially” supported (or deprecated), but they
are
working for me right now under Rails 1.0. If you can perhaps give more
specifics as to what information you are looking for regarding Sweeping
I
might be able to help you out.

-Matt

On 1/3/06, Belorion [email protected] wrote:

Hi Tom.

On 1/3/06, Tom L. [email protected] wrote:

After drawing many virtual blank stares in the IRC channel and finding
zero results on the wiki for ‘sweeper’ I’m left to wonder whether
these are actually officially supported, or are on their way toward
being deprecated. Is there a better way of expiring caches on model
saves and deletions?

Rails Weenie puts them to great use:

http://techno-weenie.net/svn/projects/rails_help/app/cachers/


rick
http://techno-weenie.net

On 1/3/06, Rick O. [email protected] wrote:

Rails Weenie puts them to great use:

http://techno-weenie.net/svn/projects/rails_help/app/cachers/

Hah, an excellent example. Thank you!

rick
http://techno-weenie.net

Sincerely,

Tom L.
[email protected]
http://AllTom.com/

On 1/15/06, csn [email protected] wrote:

Quick question - in what directory/ies should sweeper files be saved?

csn

I do beleive app/models is the standard location.

-Matt

Quick question - in what directory/ies should sweeper files be saved?

csn

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs