After reading the HTTP/2 server push documentation, I have couple of questions related to different variations of options that it supports.
First of all the relation of push mechanism and preload. What does ‘rel=preload’ do when used together with http/2 push? Or it only does anything when received by browser that doesn’t support HTTP/2?
Second question is what would give better performance, inline ESI script/style or HTTP/2 push?
At first glance it seems that ESI (inline script) should always be faster, but that’s if we only thinking about render time, but when considering increased bandwidth, the fact that Fastly won’t start responding until all ESI’s are resolved, and possibility of client-side caching, I’m not sure anymore.
Did anyone do any benchmark about it?
Please sign in to leave a comment.