How would you optimize the performance of a web application that is experiencing high latency at John Hancock?