Ball, Donald A Jr \(Library\)
2007-Apr-13 16:44 UTC
how to write a page to the cache from a cache sweeper
I''ve got an expensive page which I want to store in the page cache. The conditions under which it needs to be updated are such that it requires use of a sweeper object, no challenge there. The wrinkle is this: instead of simply expiring the page in the sweeper and lazily waiting until the next user requests the page to generate it, I''d like to go ahead and regenerate the page in the sweeper. Any tips on how I''d go about doing that? - donald --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---