|
|
|
|
|
by hacst
4140 days ago
|
|
The header compression in HTTP 2.0 isn't based on gzip or something like that. The CRIME attack pretty much killed those approaches dead. It's more akin to differential updates for header during the lifetime of the connection. So if you request a lot of files with fairly similar headers you'll effectively only have to transmit the bulk of the header once while the other request will efficiently re-use the previously transmitted fields. So to answer your question: Header compression as employed in HTTP 2.0 helps if you do many requests with similar headers on the same connection. |
|
In general, HTTP/2.0 seems to be about improving things if you do many requests over the same connection.