page caching

i have write in my environment.rb

config.action_controller.perform_caching = true

and i have write in My CategoryController

caches_page :list

but page caching is not working properly.
please help me.

i have write in my environment.rb

config.action_controller.perform_caching = true

and i have write in My CategoryController

caches_page :list

but page caching is not working properly.
please help me.

Are you running in developent or production mode?

Also, isn't that set in the relevant environments/*.rb file?