3 ms·
Can someone give a useful example of HTTP/2 Push being used? I believe I understand how it works but I'm curios what IRL techniques could be achieves.
by dmix 6y ago
Can someone give a useful example of HTTP/2 Push being used?
I believe I understand how it works but I'm curios what IRL techniques could be achieves.
- tylerhou 6y agoThe blog post links to another one of their blog posts with a real world example for push: https://evertpot.com/h2-push-for-apis/ https://evertpot.com/h2-push-for-apis/
- nikisweeting 6y agoIt's great for pushing a small bundle of static assets (e.g. <250kb) in advance of the HTML to make pageloads first-time visitors nearly instant. (e.g. for landing pages, public sites, blog posts, etc.) It's bad for pushing large bundles of JS and images to every visitor that already has them cached (which is unfortunately how it was misused in practice).