News for hackers. Stuff that matters.
Re:Using some good old obsolete HTML to create JavaScript-fr... by antibland on Saturday June 23, 2018 @10:00PM (#17384544)
Beautiful, but it took a long time (~7 seconds) to paint when viewing it in Brave on an Android Pixel. I'm on a 4g connection. This is a lot to ask of users, for a page that ultimately tells you there's nothing to look at. I haven't experimented with skeleton loading placeholders for SVG heavy presentations, but it may be suitable here.
Re:Using some good old obsolete HTML to create JavaScript-fr... by pcmaffey on Saturday June 23, 2018 @10:24PM (#17384612)
Interesting, will have to look into that... the file itself is only 27kb. So a normal placeholder while it downloads wouldn't do much. I'm not sure if there's a way to set a loading placeholder while the svg paints? ie is there an event for when it's finished painting?
Re:Using some good old obsolete HTML to create JavaScript-fr... by Hello71 on Saturday June 23, 2018 @10:37PM (#17384642)
it's because you load a huge 2.4 MB JS file, and your web server is configured terribly so gzip is off so it really is 2.4 MB.
Re:Using some good old obsolete HTML to create JavaScript-fr... by aplummer on Sunday June 24, 2018 @08:51AM (#17386353)
There are a lot nicer ways to say that FYI
Re:Using some good old obsolete HTML to create JavaScript-fr... by tomsmeding on Sunday June 24, 2018 @05:10AM (#17385711)
If that's true, then pity the mobile users on a capped data plan.