E
E
EVAS2015-09-01 14:30:10
JavaScript
EVAS, 2015-09-01 14:30:10

Why create a "min" framework?

A lot of javascript developers write their code and minify it like jquery-2.1.4.min.js .
What's the point of this? if now the Internet is very fast, and there is a lot of space on hosting.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Lebedev, 2015-09-01
@EVAS

When files are transferred there are window sizes.
Let's say 16000 bytes at a time.
There will be a weight of 16001 bytes, then 2 windows will be needed - twice as long.
That's why Gzip and minification are used.
It's easy to do, and the profit is big

D
Daniil Kolesnichenko, 2015-09-01
@KolesnichenkoDS

so that iPhones with mobile Internet load the lib faster

A
Andrey Nikiforov, 2015-09-01
@eoffsock

If you can make the page load faster, you should make it faster. All this directly affects the usability of the site, and hence the loyalty of the user. Moreover, minification practically does not require a programmer's time, there are many automated tools for this.
Look for Amazon research (sort of) on this topic - they explored how page load time affects bounce rates.

P
Pavel Kononenko, 2015-09-01
@premas

This is necessary to optimize the number of requests and protect your code from theft. In the same place not only minification, but also obfuscation often.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question