Join GitHub today
[WebLink] Do not push known assets to the client #28698
The introduction of server push with the WebLinkExtension and the
With the current implementation, the
Actually, the browser has a way to abort server pushes and "say" that it already knows the asset (https://stackoverflow.com/a/29354100/1044527). However, when the browser is ready to abort a transfer, parts of the asset (or the whole asset) might already be transferred. (see https://www.fastly.com/blog/optimizing-http2-server-push-fastly under "Looking ahead")
In the future there might come Cache Digests, that allows clients to inform the server of their cache's content. However, as this proposal is not ready yet, I think there is a need for a temporary solution.
I think a similar solution would be great for Symfony. What do you think?