3 ms·
Do any browsers already provide a way to refuse pushed resources?
by ezequiel-garzon 9y ago
Do any browsers already provide a way to refuse pushed resources?
- jbergstroem 9y agoYou'd have to handle this in service workers. You want this: https://datatracker.ietf.org/doc/draft-ietf-httpbis-cache-digest/ https://datatracker.ietf.org/doc/draft-ietf-httpbis-cache-di...
- bfred_it 9y agoWhy 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?
- ezequiel-garzon 9y agoThanks 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.