Is the "as" needed in "early hints" response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is the "as" needed in "early hints" response

What about if we had:

Server response:
      HTTP/1.1 103 Preload
      Link: </style.css>
      Link: </script.js>
      Loading: </ball.jpg> 
since it doesn't matter what the content to be preloaded is, that will be determined later when the html page is sent. For example the case for type="_javascript_" since we don't actually know what type of script it is anyway from the "early hints" you mentioned, but that doesn't matter either.

Also we could have a "loading" item to display while the page is being loaded. This could be a jpg, gif, even a small flash file.

Date: Sun, 25 Jun 2017 12:11:29 +0200
From: Julian Reschke <julian.reschke@xxxxxx>
...
Server response:
      HTTP/1.1 103 Early Hints
      Link: </style.css>; rel=preload; as=style
      Link: </script.js>; rel=preload; as=script
...



[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]