Are cache sweepers used?


#1

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.
removed_email_address@domain.invalid
http://AllTom.com/


#2

Hi Tom.

On 1/3/06, Tom L. removed_email_address@domain.invalid 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


#3

On 1/3/06, Belorion removed_email_address@domain.invalid wrote:

Hi Tom.

On 1/3/06, Tom L. removed_email_address@domain.invalid 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


#4

On 1/3/06, Rick O. removed_email_address@domain.invalid 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.
removed_email_address@domain.invalid
http://AllTom.com/


#5

On 1/15/06, csn removed_email_address@domain.invalid wrote:

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

csn

I do beleive app/models is the standard location.

-Matt


#6

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

csn