private Method

ActionCacheFilter.caching_allowed(controller)

There's no documentation for this item.

Source Code

# File action_controller/caching/actions.rb, line 109
def caching_allowed(controller)
  controller.request.get? && controller.response.headers['Status'].to_i == 200
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.