I'm (finally) looking into caching, and it seems kind of strange to
me. If I cache a page, and then create a sweeper to expire that page,
the sweeper appears to "observe" controller actions rather than the
For example, say I've got the following sweeper:
class StylesheetSweeper < ActionController::Caching::Sweeper
If I open the console and make a change to a Stylesheet object, the
cache doesn't get expired. That seems wrong to me. Editing records
through the console would lead to a stale cache.
What am I missing?