Topic: Page caching doesn't work

Hi!
I doesn't get page caching working. My Controller:

class MyController < ApplicationController
  caches_page :category

  def category
    //renders a static site
  end
end


mongrel_rails start -d -e production -p 8000

In myapp/public, there isn't any generated cached file. Addiontally, I'm wondering, if my rails is really running under production mode, because i can't find any production.log.
Do you have any suggestions?
Thx!

Re: Page caching doesn't work

Doesn't have anybody any idea?

Re: Page caching doesn't work

uncomment:

# ENV['RAILS_ENV'] ||= 'production'

in environment.rb to see if it really is starting in production mode.

Or you can temporarily switch on caching in /config/environments/development.rb -> config.action_controller.perform_caching = true