Live data from Hacker News

jQuery 4.0 99% Complete

github.com

1–10 of 47 posts

Re: jQuery 4.0 99% Complete

#3
post #2

I wonder if the footprint got smaller or bigger.

It does not matter that much, relatively speaking. People include 1MB font libraries in their site without a care in the world, and force 1-2MB PNGs and JPEGs down the wire without caring. A few extra bytes in jQuery is nothing compared to that.

Re: jQuery 4.0 99% Complete

#4
post #3
post #2

I wonder if the footprint got smaller or bigger.

It does not matter that much, relatively speaking. People include 1MB font libraries in their site without a care in the world, and force 1-2MB PNGs and JPEGs down the wire without caring. A few extra bytes in jQuery is nothing compared to that.

Especially if it's served from a CDN, and thus likely already cached.

Then again, how many folks are using jquery these days? It might be more rare than I think.

Re: jQuery 4.0 99% Complete

#5
post #3
post #2

I wonder if the footprint got smaller or bigger.

It does not matter that much, relatively speaking. People include 1MB font libraries in their site without a care in the world, and force 1-2MB PNGs and JPEGs down the wire without caring. A few extra bytes in jQuery is nothing compared to that.

Yeah.

However, it does matter in interactive websites because if the js is light it'll load fast and execute fast and you'll have interactivity sooner. It may be the case that images can be loaded later or arent even visible on the home page. And fonts of course will be replaced once they are loaded and the defaults will be used while it loads so it's progressive in a way.

Re: jQuery 4.0 99% Complete

#7
post #3

Earlier quoted context omitted.

It does not matter that much, relatively speaking. People include 1MB font libraries in their site without a care in the world, and force 1-2MB PNGs and JPEGs down the wire without caring. A few extra bytes in jQuery is nothing compared to that.

Especially if it's served from a CDN, and thus likely already cached. Then again, how many folks are using jquery these days? It might be more rare than I think.

> Especially if it's served from a CDN, and thus likely already cached.

Browsers no longer do cross-site resource caching. https://www.stefanjudis.com/notes/say-goodbye-to-resource-ca...

Re: jQuery 4.0 99% Complete

#8
post #6

Just leaving this here since people will wonder the relevance of jQuery today. > jQuery is used by 94.5% of all the websites whose JavaScript library we know. This is 77.4% of all websites. https://w3techs.com/technologies/details/js-jquery

How many of them are WordPress installations or sites running Bootstrap?

Re: jQuery 4.0 99% Complete

#9
post #6

Just leaving this here since people will wonder the relevance of jQuery today. > jQuery is used by 94.5% of all the websites whose JavaScript library we know. This is 77.4% of all websites. https://w3techs.com/technologies/details/js-jquery

That’s a shocking number. I wonder how much of that is just duplicated instances of some standard template, Wordpress, whatnot.

Re: jQuery 4.0 99% Complete

#10
It has been a long time since I used jQuery. What exactly is the usecase today? Is it just syntactic sugar or has it changed significantly?
Post reply on HN