Hacker News new | past | comments | ask | show | jobs | submit login

I think you're greatly exaggerating the death of jQuery

> old trick's won't work

> writing is on the wall

jQuery still works and is used in an crazy amount of websites. It's not going away soon. The biggest downside is the extra network request, but it's probably cached in 99% of browsers, so all that's left is some extra CPU time.

You're also exaggerating the claims of jQuery defenders. No one here is arguing that the site should keep jQuery, or that you should write a ton of new jQuery code.




Chrome started partitioning the cache a couple years ago to mitigate timing attacks, so there's no network savings anymore when a bunch of sites all link to the same jQuery cdn entry.


I believe Safari has been doing it since 2013.

https://bugs.webkit.org/show_bug.cgi?id=110269


Someone did tests on it before this and found that with how many versions and cdn sources there are, your exact jquery is almost never in the cache.


Really proves the point that knowledge will atrophy. As a dev you need to invest in evergreen skills as well as trivia.


Fair enough. But it is still cached for your site.


jQuery is not unique in being cacheable




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: