3 ms·
Minification is vital. It has been widely reported that an extra 100ms in latency costs Amazon 1% of their sales. Google found that 500ms of extra latency reduc
by jdietrich 16y ago
Minification is vital. It has been widely reported that an extra 100ms in latency costs Amazon 1% of their sales. Google found that 500ms of extra latency reduced traffic by 20%. Optimising page load time is one of the cheapest and simplest ways of improving user experience and so your business.
Sacrificing profits and UX for a few hypothetical developers is lunacy. If you really want to share the wealth and let newbie developers read your source, blog about it or submit it to Github - then you can include explanation of your design and make it far easier for them to get the interesting bits.
- soofaloofa 16y agoIn some cases minification is absolutely vital. Yet there are so many neat JavaScript tricks used on throwaway or one-off projects that are minified without reason.
- benologist 16y agoWhen you're not relying on 200k of external libraries minification is a lot less significant. When you enable GZIP it's even less so.
- pohl 16y agoWhen you're not relying on 200k of external libraries minification is a lot less significant. Is that so. Tell me what else you know about the scope of my web application.
- runningdogx 16y agoMinification still offers a substantial savings. The following file size stats are from jquery 1.6.0 just now pulled from google's urls: Uncompressed (normal:minified) 232651:90518 Gzip -6 (normal:minified) 66778:31610 Gzip -1 (normal:minified): 81986:36633 gzip -9 only saves a few hundred bytes on each vs default compression level of 6. bzip2 and xz do not achieve dramatic reductions of the readable jquery code either; the normal:minified ratio is slightly improved, but is still approx. 2:1.