Topic: Page caching doesn't work

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

class MyController < ApplicationController
  caches_page :category

  def category
    //renders a static site

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?

Re: Page caching doesn't work

Doesn't have anybody any idea?

Re: Page caching doesn't work


# 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