News for hackers. Stuff that matters.
Re:HTTP/2 Server Push on Netlify by ezequiel-garzon on Tuesday July 18, 2017 @01:57PM (#14798646)
Do any browsers already provide a way to refuse pushed resources?
Re:HTTP/2 Server Push on Netlify by jbergstroem on Tuesday July 18, 2017 @02:18PM (#14798820)
You'd have to handle this in service workers. You want this: https://datatracker.ietf.org/doc/draft-ietf-httpbis-cache-di...
Re:HTTP/2 Server Push on Netlify by bfred_it on Wednesday July 19, 2017 @08:27AM (#14803781)
Why would you need this? The use case of Server Push is to download resources earlier than a browser can request them, but will eventually require anyway.

What are you hoping to refuse?

Re:HTTP/2 Server Push on Netlify by ezequiel-garzon on Wednesday July 19, 2017 @05:39PM (#14808210)
Thanks for the reply, and good point. I guess I feel uneasy about letting the server "push" at will, for instance when dealing with mobile data plans. But come to think about it, I don't have much control on what I'll get once I visit a website.