-
Notifications
You must be signed in to change notification settings - Fork 302
Description
Technical Bug Report
Your Environment
Software | Version(s) |
---|---|
Form Factor | Desktop |
Browser Type | Firefox |
Browser Version | 63.0.3 (64-bit) |
Is this an issue with Rust, CSS, or HTML (or a combination)?
Probably a combination of CSS and webfonts.
Current and Expected Behavior
When loading or reloading the page, the page elements jump around a lot. It seems that the layout is being processed only after page load. (I initially thought that this was due to some JS based layouting, but I can't seem to find any JavaScript.)
Here's a screen capture of the behavior: https://tmp.dbrgn.ch/rust-2018-11-30_00.04.14.webm
For example, the main menu can quickly be seen in the upper left corner. After a short moment, it "jumps" to the upper right corner.
I think there are multiple stages of page loading (got the screenshots by pressing ESC during page load):
1. The raw HTML content
2. Some webfonts have been loaded, some CSS rules have been applied
3. Menu moves to upper right corner, but some page elements like the logo haven't loaded yet
4. Page is fully loaded
The fact that for example the logo isn't loaded immediately seems to indicate that there are no caching headers set up for static files. Could that be? (see also #319) Would probably good to cache all static resources, with proper cache busting parameters appended on deployment.
Step to Reproduce
Load the page in Firefox, then press F5 or Ctrl+F5.