Hacker News new | ask | show | jobs
by LorenzoLlamas 3746 days ago
Surely you all jest. Simple script in Any Real Language to scan your HTML and, if desired by all you JS junkies, your JS and compare your CSS to each page and spit out report by frequency of us on each page.

From not-used to most used. So, example:

0 .hr

1 .dt index.html

7 .h1 index.html (5)

      about.html (2)

Something like that.

But seriously, does anyone really care about performance anymore? Nah! Just stick all your bloated code to the browser and someone else's bandwidth, right?

We lost the battle once Eric Meyer started extolling resets. Never mind that 99% of sites that use a Reset never even bother to delete the rules they don't use (and likely never would).

I just got done trying to view a simple five paragraph article on CNN which had three popups (thanks JS!): a TOS update which I didn't read, a "breaking news" banner about an arrest in Brussels (also not read), and on obnoxious video ad from AT&T. After three minutes and two refreshes, I gave up when everything on the page loaded, including the thumbnails and images to a dozen other "related" articles, as well as summary headlines in business, world, etc - everything but the last three paragraphs of what I actually came there to read. So excuse me if I'm jaded. Hating the poor performance of all internets right now, particularly on mobile.

And don't even get me started on the concept that CSS per-page exceptions could benefit from inclusion in the HTML code (gasp! inline!). Another whole pet peeve of mine. Don't even try and babble about browser caching "benefits" to me. We both know it's a wash and a lazy developer excuse. Fine tune, fine tune, fine tune. That's your job, so someone please start doing it.