3 ms·
You have a point. What about CSS? At first I think it would just render funny, but some javascript actually interacts with the CSS, e.g. jQuery selectors based
by eloff 11y ago
You have a point. What about CSS? At first I think it would just render funny, but some javascript actually interacts with the CSS, e.g. jQuery selectors based on style classes or something. So it has the same problem really.
Images would be safe.
Or an alternate plan, start rendering, but do not run the javascript until the resource checks for css+js files return. It would slow things down some more, but not as much as waiting for everything.
- jasonkester 11y agoBefore: body { background:blue; } After: body {} It would play out similar to the Flash of Unstyled Content issue, but substituting "unpredictably wacky" for "unstyled".