News for hackers. Stuff that matters.
Re:jQuery 3.0 Released by hanoz on Friday June 10, 2016 @07:07AM (#11875528)
Yes of course, for new projects now and for the foreseeable. Its terse expressive fluent syntax alone is reason enough to use it for me. Nothing else comes close for ad-hoc dom work, and your user almost certainly has it cached already anyway.
Re:jQuery 3.0 Released by dexterdog on Friday June 10, 2016 @07:56AM (#11875707)
Unfortunately when you score a page for speed things like jq and bs are counted against you when they are likely to be cached. Why don't any scoring systems (that I know of) able to take can asset popularity into account for things like this?
Re:jQuery 3.0 Released by andybak on Friday June 10, 2016 @08:56AM (#11875997)
Just as interesting - I'd like to see stats on which CDNs offer the best chance of a warm cache for my visitors - and which versions of various libraries have the best chance of being cached.
Re:jQuery 3.0 Released by dexterdog on Saturday June 11, 2016 @06:08PM (#11885576)
If only the browsers would support caching based on the sha384 of the file then the script/css's integrity property would be even more useful and it wouldn't matter where you were serving it from.