Displaying 1 result from an estimated 1 matches for "blog_sweeper".
Did you mean:
log_sweeper
2005 Jun 26
4
calling controller and caching from a sweeper class
...n to cache the files that get
generated by those actions. It also has a Sweeper (Observer) class that expires
those cached files when a blog post is created or modified:
http://typo.leetsoft.com/trac/file/trunk/app/controllers/xml_controller.rb
http://typo.leetsoft.com/trac/file/trunk/app/models/blog_sweeper.rb
The normal behavior is that the files get deleted when expire_cache is called,
and then re-created the next time the XmlController action is invoked.
Now, I''m trying to force the files to be re-cached immediately after the
expire_cache call from the Sweeper class. However I could no...