8 ms·
> Why would there ever be megabytes of CSS for such a site Bootstrap, a theme for it, app css, a couple of 3rd party vendors, and we are over a megabyte. > a
by noway421 10y ago
> Why would there ever be megabytes of CSS for such a site
Bootstrap, a theme for it, app css, a couple of 3rd party vendors, and we are over a megabyte.
> a big win in productivity/quality
Only if you are doing an SPA which mimics desktop applications. Which journalism sites are usually not
>Why is that relevant for such a site? Who exactly is advocating for a 'plethora of dependencies' for that kind of website?
Well no one, but sites still do this in the wild, while being driven by business decisions rather than technical concerns, which is understable surely, but look how nostalgic people are getting.
- allover 10y ago>> Bootstrap, a theme for it, app css, a couple of 3rd party vendors, and we are over a megabyte. Who's doing that? And if they are adding dependencies without consideration of page-speed, they're to blame, and they'll never understand performance. Bootstrap is not the problem. Hypothetical bad devs would have been making similar mistakes with flash prior to that, or whatever alternative CSS libs were available, and were being cobbled together piecemeal prior to Bootstrap. > a big win in productivity/quality >> Only if you are doing an SPA which mimics desktop applications. Which journalism sites are usually not That is false. Bootstrap's primary use-case is as a CSS framework, not something solely for SPAs. From the early days it solved cross browser issues even for supposedly simple things like 'forms' for which there were no well-established conventions beforehand. Go trawl through the BS1 & 2 issue threads around form elements, and see all the things they fixed. > Why is that relevant for such a site? Who exactly is advocating for a 'plethora of dependencies' for that kind of website? >> Well no one, but sites still do this in the wild [...] So those tools don't deserve the abuse/noise.
- gkya 10y agoNobody's picking on Bootstrap anyways. > Who's doing that? You either don't use the web since 2008 or something or are lying: nearly all websites start with this setup.