How would you optimize the performance of a web application experiencing high latency due to heavy rendering or asynchronous operations?