Enable simple cache in RedBean and add production conditional for freezing database schema and enabling template caching