Hacker News new | past | comments | ask | show | jobs | submit login

Even if you're minifying, providing the .map file is the best of both worlds: users get faster transfer times and slightly more performant parsing, and for those that want the licenses (and even better, the ability to debug easily), they will follow the .maps of the minified code to the full, uncompressed versions.

Minify, include mappings, and you are good to go.

That being said, the most important point the author makes is to ensure that compression is on when you deliver your assets! Whether it be gzip, brotli, or whatever other arcane format, make sure for your users that it is on.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: