background preloader

Performance

Facebook Twitter

Minimize payload size - Make the Web Faster. The amount of data sent in each server response can add significant latency to your application, especially in areas where bandwidth is constrained.

Minimize payload size - Make the Web Faster

In addition to the network cost of the actual bytes transmitted, there is also a penalty incurred for crossing an IP packet boundary. (The maximum packet size, or Maximum Transmission Unit (MTU), is 1500 bytes on an Ethernet network, but varies on other types of networks.) Unfortunately, since it's difficult to know which bytes will cross a packet boundary, the best practice is to simply reduce the number of packets your server transmits, and strive to keep them under 1500 bytes wherever possible.

How to lose weight (in the browser) How to defer parsing javascript. Web Performance Best Practices - Make the Web Faster.