Topic: Page Caching in Rails does not work when Database is down?
I'm using rails 2.3 have not ported over to the latest version yet.
So I'm doing caching on whole pages and in my public directory I will have a "index.html" page for my home page thats get generated during certain times of the day. So basically there is a "index.html" sitting in my public dir all the time.
My question is if my mysql database goes down and there is an "index.html" in the public directory shouldn't apache serve the index.html page even if the database is down?
Right now I'm seeing behavior where when the database is down and I get served a 500 error page instead of the index.html page. What I want to see is the index.html page served instead of the 500 error page while the database comes back online.
Last edited by rank2 (2011-11-10 11:58:50)