client performance optimization