27 ms·
> Is there an equivalent with any other type of resource, that avoids deferring onLoad? If JS is disabled the event doesn't really matter and any asset can be
by wybiral 8y ago
> Is there an equivalent with any other type of resource, that avoids deferring onLoad?
If JS is disabled the event doesn't really matter and any asset can be handled this way. I just use the favicon because it stops the browser from showing a loading spinner so everything looks still and nobody assumes there's anything going on in the background.
You can use persistent connections like this in other strange ways too. For instance this is a no-JS chat that's even able to update the connection count by sending a bit of CSS lazily: https://harmless.herokuapp.com/main https://harmless.herokuapp.com/main