App optimizations for web deployment