Don't serve assets via rails in production; enable thread safe; cache classes