My question may seem silly, but I just wanted to be sure:
- Is it possible to send an HTTP response before requesting this resource?
Say, for example, you have an HTML index.html page that shows only an image named img.jpg . Now, if your server knows that the visitor will request an HTML file, then a jpg image each time:
Is it possible for the server to send the image immediately after the HTML file to save time?
I know that HTTP is a synchronous protocol, so theoretically it should not work, but I just wanted someone to confirm it (or not).
m_vdbeek Sep 06 2018-12-12T00: 00Z
source share