FluxML / fluxml.github.io

Flux Website
https://fluxml.ai
MIT License
20 stars 45 forks source link

CSS not loading correctly on the first time visiting the site #65

Closed EricForgy closed 3 years ago

EricForgy commented 4 years ago

Hi,

I notice this issue on several Julia-based websites and I am not sure what is the source of the problem, but @DhairyaLGandhi suggested starting here.

@DhairyaLGandhi posted the the latest article on Torch.jl (looks awesome!), but the first time I visit the page, the CSS is garbled. It looks like it thinks I'm on mobile or something.

image

When I reload the page, everything is fine and every subsequent time I visit the site, the CSS is fine. It is only that very first visit that is garbled, but that first visit is the most important visit. Especially since I do a lot of Julia evangelizing and if I send the link to someone, I'd like to know what they see isn't garbled CSS.

I can verify that the CSS is consistently garbled on the very first visit by loading the url into a fresh incognito window on Chrome.

This might seem minor, but first impressions are important, so I hope we can track down the source of this problem.

Cheers

logankilpatrick commented 3 years ago

@EricForgy, I am closing this for now since my tests did not yield the same result and the website has just gone through extensive improvement (which likely resolved the issue). If this is still an issue, please re-open this with some steps to reproduce.