Remix.run Logo
charrondev 3 days ago

> but if you use external CSS, it’s quite common for the request to fail resulting in an unstyled page

That’s a pretty crazy statement. How often do you see loading a CSS stylesheet fail to load? Most sites are completely unusable without their stylesheets and I don’t recall the last time I saw a stylesheet fail to load.

dspillett 3 days ago | parent | next [-]

> How often do you see loading a CSS stylesheet fail to load?

I wouldn't say often, but it certianly happens often enough that I make sure my own designs work well enough (the content is visible at least, even if it is hellish ugly) if external resources like that fail to load.

The most frequent cause is a site that is overloaded due to a hug from HN or similar, the main request going through OK but some of the subsequent ones timing out. It is getting less common with servers that support HTTP2/HTTP3 so pipeline better, as the usual failure point in these cases is in opening a connection not while reading the response (or the server generating that response).

It can also happen if static content is served from a different place, and that is down but the host serving the main content is not.

inetknght 3 days ago | parent | prev | next [-]

> How often do you see loading a CSS stylesheet fail to load?

Often. It might have something to do with my adblock settings though...

> Most sites are completely unusable without their stylesheets

Those sites are generally completely trash anyway.

3 days ago | parent | prev | next [-]
[deleted]
copypaper 3 days ago | parent | prev | next [-]

I've had it happen to me exactly once in the past few years. And a simple refresh fixed it. Definitely an overstatement to say it's common.

userbinator 3 days ago | parent [-]

Somewhat common if a site is being overloaded.

saghm 3 days ago | parent [-]

That checks out, I feel like the place I've seen it the most is on Github, which also seems to be the site I use regularly that has the most frequent outages (which also aren't quite at the level I'd call them common, but still _somewhat_ common_ compared to everything else I use anywhere close to daily)

daemonologist 3 days ago | parent | prev [-]

A few times a month for me. (Some combination of Comcast, a Qualcomm NFA765 on Linux, and ad-block. Probably mostly the second thing.)