3 ms·
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 o
by vlunkr 4y ago
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.
- somehnacct3757 4y agoChrome 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.
- Gigachad 4y agoSomeone 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.
- vlunkr 4y agoFair enough. But it is still cached for your site.
- lelandfe 4y agojQuery is not unique in being cacheable
- underwater 4y agoReally proves the point that knowledge will atrophy. As a dev you need to invest in evergreen skills as well as trivia.
- sefrost 4y agoI believe Safari has been doing it since 2013. https://bugs.webkit.org/show_bug.cgi?id=110269 https://bugs.webkit.org/show_bug.cgi?id=110269