B
B
Bogdan Gerasimenko2020-11-24 12:11:05
HTML
Bogdan Gerasimenko, 2020-11-24 12:11:05

Is code minification necessary with GZIP enabled?

Tell me, is it necessary to compress the source code of the page to one line if the GZIP type option and caching are already activated on the server?

For example from:

<div>
  <h1>...</h1>
</div>

do: It's just that the source code becomes unreadable, but on the same google.com, the entire code of the page is compressed and looks like one long line.

<div><h1>...</h1></div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Samoilov, 2020-11-24
@takezi

1% gain on average with gzip+minification. I think the game is not worth the candle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question