Topic: Page cache not clearing
I'm on vista, rails 2.2, ruby 1.8 and in dev mode.
The problem is: I can set the cache up fine, but it would seem that expire_page isn't doing anything.
cache_sweeper :group_sweeper, :only => [:create, :update, :destroy]
class GroupSweeper < ActionController::Caching::Sweeper
RAILS_DEFAULT_LOGGER.error("START CACHE CLEAR")
expire_page(:controller => 'calendar', :action => 'home')
RAILS_DEFAULT_LOGGER.error("END CACHE CLEAR")
In my logs i'm only getting
[4;35;1mGroup Update (1.0ms)[0m [0mUPDATE "groups" SET "title" = 'efeccc', "updated_at" = '2008-12-17 10:38:33' WHERE "id" = 2[0m
START CACHE CLEAR
END CACHE CLEAR
Redirected to /admin/groups/2
Ideally public/index.html should be deleted - but it isn't.