optimized configuration for staging and production