One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts on each pageload . Nothing is minimized. The bower file alone has 300k in comments. The CSS file is also nearly 1 Mb. It's just a simple website with some forms. They have 2 developers working on the site, a scrum master, a project mana…
Not really an answer to your question, but this might be useful: http://youmightnotneedjquery.com
A day without JavaScript
21–30 of 412 posts
Re: A day without JavaScript
#22One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts on each pageload . Nothing is minimized. The bower file alone has 300k in comments. The CSS file is also nearly 1 Mb. It's just a simple website with some forms. They have 2 developers working on the site, a scrum master, a project mana…
Not really an answer to your question, but this might be useful: http://youmightnotneedjquery.com
Re: A day without JavaScript
#23There are some sites that require JS to render, but the great thing is that majority of pages I visit work just fine as plain html/css. In general I feel less distraction from popups, overlays, ads, etc.
Re: A day without JavaScript
#24The fact that so many sites fail to even make use of a noscript block (like [0]), boggles my mind. [0] https://www.google.com/chrome/
Re: A day without JavaScript
#25One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts on each pageload . Nothing is minimized. The bower file alone has 300k in comments. The CSS file is also nearly 1 Mb. It's just a simple website with some forms. They have 2 developers working on the site, a scrum master, a project mana…
Chrome 59 has a coverage tool built-in: https://developers.google.com/web/updates/2017/04/devtools-r...
Re: A day without JavaScript
#26> Verdict: Failing… to not work. Sad!
Delicious.
Re: A day without JavaScript
#27I generally agree with what he is saying, but the web has moved beyond the point where its reasonable to expect websites to have JS fallbacks. It is just too prominent now a days. I've always been a JS hater, though I have to code it frequently.. However, with that said I find the arguments against the language becoming more and more obsolete as the years go on.
Re: A day without JavaScript
#28Re: A day without JavaScript
#29Re: A day without JavaScript
#30I generally agree with what he is saying, but the web has moved beyond the point where its reasonable to expect websites to have JS fallbacks. It is just too prominent now a days. I've always been a JS hater, though I have to code it frequently.. However, with that said I find the arguments against the language becoming more and more obsolete as the years go on.
I take this to extreme on mobile apps, only native ones get into my devices. If it looks like a web widget after being installed, it gets the boot shortly afterwards.