Y
Y
yankoyski2019-05-17 20:57:52
Node.js
yankoyski, 2019-05-17 20:57:52

Do I need to minify node.js server for production?

Do I need to minify node.js server for production?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2019-05-17
@yankoyski

It makes sense to minify only those scripts that are loaded by clients, because. 100 kilobytes saved with a million downloads is 100 gigabytes saved, and not everyone has a fast Internet (users of a slow Internet will not wait for the download and leave). But the server scripts are loaded into memory in one copy when the server is started, they are not transmitted anywhere over the network - it is extremely pointless to save money. Even if you save 10 megabytes, with the current amount of memory, this is not a lot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question