Hello, I am trying to expire fragments (or at least trigger their expiration) from a daemon that's running in the background.
The daemon is updating all kinds of important lists every few minutes from the background. So I have to find some way to DO or TRIGGER the fragment caching from this daemon. Unfortunately just using the normal commands like: expire_fragment :controller => 'groups', :action => 'index' from within the daemon triggers no reaction. Is there anyting I could change in the parameters I could add that would fix it? Using a sweeper is a problem because the daemon updates a lot of models but the cache should only be expired when a full round of updating is completed -- not with every single update of every single db entry. Fro this purpose I created a Model to count the rounds - and then trigger cache expiration after each 'create' of this counter. But this counter model is not updated from any controller in the application - which - as far as I understand it - is required to make the sweeper work. Any help would be greatly appreciated! Thanks! Justus -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

