|
|
|
|
|
by SOLAR_FIELDS
1748 days ago
|
|
It’s been awhile since I’ve worked in the frontend space, but even 5 or 6 years ago if you were using a pretty popular hosted CDN of JQuery with a pretty recent version there was a pretty good chance it was already cached on the end user’s device when they hit your site. There’s always a lot of talk about Jquery’s size but I wonder how many users don’t even notice because they’ve already got it on their system. There’s also of course the added cost of executing the library on the site but I’m guessing V8 and other JS engines have optimized the hell out of that too as to make it pretty negligible in terms of time difference. |
|
[0] https://developers.google.com/web/updates/2020/10/http-cache...
[1] https://developer.mozilla.org/en-US/docs/Web/Privacy/State_P...