New help
flat | nested
what level of interaction does rails have when page caching is used? (2 points)
in rails, caching by paulc on Tue Apr 11 23:09:15 -0500 2006

From reading about how rails works, it seems when you use page caching in a production environment, the rails stack is bypassed because apache/lighty will see the html file and serve that instead of dynamically generating the page. Is rails really totally bypassed? If so, how can the log files still record what pages where hit in the log directory if rails is totally bypassed?

RE: what level of interaction does rails have when page caching is used? (3 points)
by protocool on Thu Apr 13 00:43:48 -0500 2006

The access will be logged in either the lighty or apache log files.

RE: what level of interaction does rails have when page caching is used? (0 points)
by paulc on Thu Apr 13 00:55:28 -0500 2006

Access is logged in the apache or lighty log files, but doesn’t the access also get logged in production.log? When I tail -f my produciton.log files I see the access logged even though the page is cached.

RE: what level of interaction does rails have when page caching is used? (0 points)
in rails, caching by paulc on Mon Apr 17 23:37:30 -0500 2006

Hi protocool, thanks for the help, after more debugging, I found that my caching is not working properly, so that is why page is showing up in production.log . I always have problems with caching :(