I have a static site. In order to speed up site loading, I want to push the CSS to the client using HTTP/2 Server Push. However, I am also concerned about bandwidth usage on mobile clients.
If I specify a resource to be pushed to the client (e.g. using http2_push <some file>
in nginx) and the client already has this resource in their cache, can the client request the resource not to be pushed? Or does the server always push the resource?
I read RFC 7540, sec. 8.2 - HTTP/2 Server Push, but I only found that the client can send a RST_STREAM
request to stop a server push. But is there a way the client can choose which resources they get pushed?