Text-only CNN
lite.cnn.io
Text-only CNN
1–10 of 319 posts
Re: Text-only CNN
#2Re: Text-only CNN
#3This site appears to load ~350 KB of JavaScript, which I think is a bit excessive for a "lite" text-only site. From the sourcemaps, I found a long list of libraries, including:
* react
* redux
* redux-thunk
* react-router
* axios
* base64-js (why not window.atob/btoa?)
* core-js
* fbjs
* react-hot-loader (should not be in a production build)
* ...a bunch of other smaller modules
There's only about 10 KB of non-library application code. Note that I ignore gzip when evaluating this sort of stuff, since that many bytes of code still need to be parsed, no matter how much it compresses.
For the person who made this site, I would replace React with Preact (or Inferno), which should remove most of the bloat. Server side rendering would also be nice for those who don't have JavaScript enabled and would also improve the loading time.
At least it's still better than cnn.com. http://www.webpagetest.org/result/170910_C8_e78305788a19b0fb...
Re: Text-only CNN
#4Re: Text-only CNN
#5Re: Text-only CNN
#6Re: Text-only CNN
#7It's amazing what happens to rendering times when only the actual content is being loaded.
Re: Text-only CNN
#8Re: Text-only CNN
#9EDIT: As I wrote this, someone deployed a server-side rendered version of the site. Now the site is perfect. :) This site appears to load ~350 KB of JavaScript, which I think is a bit excessive for a "lite" text-only site. From the sourcemaps, I found a long list of libraries, including: * react * redux * redux-thunk * react-router * axios * base64-js (why not window.atob/btoa?) * core-js * fbjs * react-hot-loader (s…
That's literally the entire value prop of the website. The author isn't obligated to use your personal list of approved web tools.