Caching in Rails

An intestering tidbit on Rails caching. The Rails book also has a nice chapter on this subject. One important thing to note, your public directory must be writable for the owner of your Rails process e.g. the dispatch.fcgi process spawned from Apache which is typically running under user ‘httpd’ or ‘www-data’ . So, if you’re wondering why you’re not seeing improvements in your Rails app even though you have page caching enabled, check the above.

This entry was posted in Home. Bookmark the permalink.

Comments are closed.