Favor instant visual changes
Animations, whether created with CSS or performed by JavaScript, generate lots of repaint/reflow. It is thus better to use instant rather than animated changes in order to use less CPU resources.
Cache Ajax responses
Ajax responses that won’t be changed in the near future should not be re-requested from the server. You can therefore cache them to save bandwidth.








