News for hackers. Stuff that matters.
Re:A Guide to HTTP/2 Server Push by manigandham on Monday April 10, 2017 @03:03PM (#14081510)
The difference is that bandwidth is being used by incoming pushed assets before the abort. This might not matter much on fast wired connections but can make a big difference on mobile networks.
Re:A Guide to HTTP/2 Server Push by Matthias247 on Monday April 10, 2017 @04:13PM (#14082123)
Exactly. The start of the push will already consume downstream bandwidth until it's canceled by the remote side. I guess in the worst case it consume about up to the maximum window size of the stream (typically 64kB). The "classic" approach compared to that is the client initiating another GET request for each asset after it has received the index page. This requires more upstream traffic. However the webserver could directly respond with a 304 for cached assets, which means less downstream traffic.