Cache problem

Hi all

I try to cache page

caches_pag :test

I want expire cache now.
so i turn off environment cache switch
and comments above code

but, doesn’t work
what’s going on?

all regards

joe-black <allenbobo@…> <allenbobo gmail.c <allenbobo@…>
writes:

I want expire cache now.
so i turn off environment cache switch
and comments above code

Rails cache writes HTML pages to the public directory in you
application. To
expire your cache these files need to be removed. You can do this by
removing
them manually, be careful not to remove any static assets. Or you can
use the
expire_page method in your controller. See
http://api.rubyonrails.com/classes/ActionController/Caching/Pages.html
for more
details.

HTH,
Remco


http://blog.remvee.net/