Bug 187173 - Preload headers not loading assets assets on parse
Summary: Preload headers not loading assets assets on parse
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 03:49 PDT by Robert
Modified: 2018-06-29 06:25 PDT (History)
2 users (show)

See Also:


Attachments
The JS CSS should be loaded at the beginning of the waterfall (106.07 KB, image/png)
2018-06-29 03:49 PDT, Robert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2018-06-29 03:49:05 PDT
Created attachment 343903 [details]
The JS CSS should be loaded at the beginning of the waterfall

Steps to reproduce the problem:
1. Open Network inspector
2. I created a demo page, which flushes the preload headers, then adds a delay, then flushes the rest of the page
Go to https://glitch.com/edit/#!/thunder-tune > Show Live
3. The waterfall shows assets loaded when the HTML is fully downloaded

What is the expected behavior?
Assets should be downloaded as soon as the Preload headers are parsed. This happens regardless of if GZIPed (Comment back in compression in demo to enable GZIP).

What went wrong?
Assets are loaded once the HTML has been parsed, not when the preload headers are parsed.

Did this work before? N/A 

Does this work in other browsers? No

Not sure if this is an Express/Node issue or a browser issue, but if I curl the demo I can see the preload headers > delay > rest of HTML so content is being sent to the browser.
Have filed a Chrome issue as well, but it only affects Chrome when GZIPed.