Closed chrishtr closed 3 years ago
Here is an example in action:
https://chrishtr.github.io/bjc-r/course/berkeley_bjc.html?
compare with:
The actual pages on deployed site are much worse - it depends on the round-trip time to the HTTP server. Compare with:
https://bjc.edc.org/bjc-r/course/bjc4nyc.html
Also, I looked for bjc4ync.html all over https://github.com/beautyjoy/beautyjoy.github.io and other repos, and coudn't find it yet...
Currently, bjc-r pages are very slow to load and have a lot of flashing-of-unstyled-content. This is because all of the stylesheets, as well as some HTML content, is dynamically inserted by loader.js. Browsers will then do this:
All of this can be avoided with a very simple edit - simply inline the style sheets and widgets in the page.