Re:Stop Wasting Connections, Use HTTP Keep-Alive
by cm2187 on Friday March 08, 2019 @03:25AM
(#19335991)
Server push can’t be free. You need the web server to somehow know what resources will be required by the page and I still don’t understand how it doesn’t defeat browser caching but I presume it must involve some non trivial configuration.
[ Parent
| on HN ]
Re:Stop Wasting Connections, Use HTTP Keep-Alive
by johncolanduoni on Friday March 08, 2019 @03:34AM
(#19336021)
Server push also isn’t required to reap most of the benefits. In the places where I’ve tried it I’ve not seen any benefit over link preload headers + HTTP2 without push. Many CDNs that support HTTP2 haven’t bothered to support server push at all, I suspect due to the limited advantages compared to the extra complexity.
Re:Stop Wasting Connections, Use HTTP Keep-Alive
by youngtaff on Friday March 08, 2019 @04:56AM
(#19336340)
Pretty sure server push is being deprecated - current implementation is 'only half a feature', as clients lack the ability to tell the server what's already in cache.
In theory the client can cancel the response for a resource it's already got but by the time the response bytes reach the client it's really too late
Re:Stop Wasting Connections, Use HTTP Keep-Alive
by cm2187 on Friday March 08, 2019 @05:37AM
(#19336476)
Yeah and if the client volunteers the list of all it has in cache it would result in some massive requests and a kind of quasi-cookie.
I always found this feature interesting but weird.
Re:Stop Wasting Connections, Use HTTP Keep-Alive
by VBprogrammer on Friday March 08, 2019 @06:11AM
(#19336594)
Random thought. But isn't this a potential use for a bloom filter?
Re:Stop Wasting Connections, Use HTTP Keep-Alive
by youngtaff on Friday March 08, 2019 @06:40AM
(#19336711)
Yes bloom filters were a potential for Cache Digests, original prototype for Cache Digests used Golomb coded set as memory representation is smaller than Bloom filter
https://github.com/h2o/h2o/issues/421
But then Cache Digests moved onto Cuckoo Filters - https://github.com/httpwg/http-extensions/pull/413