Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cache: [GET /] miss

I have deployed my RoR app on VPS with Apache2 + Passenger. After configuring the app, when I hit the submit the request from the browser, I get "cache: [GET /] miss" in my apache2/error.log

Please help me understand why am I getting this error. I have been struggling with this error for a day or 2 now.

Thanks, John

like image 744
Raj Lalwani Avatar asked Feb 06 '12 12:02

Raj Lalwani


2 Answers

Or you can tell rack/cache to shut up in your production.rb:

config.action_dispatch.rack_cache[:verbose] = false
like image 68
sailor Avatar answered Oct 19 '22 09:10

sailor


This is an issue with Rack::Cache: cache: [GET /] miss on default Rails application in production mode Rails 3.2.2

Basically Rack::Cache has its logging set to verbose by default, and its log goes into STDERR, and under Apache STDERR goes into the error log.

As far as I understand, this is completely harmless, not it does fill the error log.

Here is the patch for this issue, it has been already merged, so you can either apply it yourself or wait for the next gem update.

like image 40
haimg Avatar answered Oct 19 '22 08:10

haimg