server optimizations