News for hackers. Stuff that matters.
Re:Please stop using CDNs for external JavaScript libraries by convery on Sunday October 11, 2020 @01:28PM (#24747465)
I guess, but that disadvantage seems massively outweigh by the benefits. Can always use something like [1] to check if a client is active on interesting sites.

[1] - https://www.webdigi.co.uk/demos/how-to-detect-visitors-logge...

Re:Please stop using CDNs for external JavaScript libraries by Polylactic_acid on Sunday October 11, 2020 @09:17PM (#24750576)
Are there actually any benefits though? I saw an article a few years back about how when loading jquery from Google's cdn there was about a 1% chance the user had it cached already. Since you have to have, the same library, the same cdn source and the same version of the library, it almost never is the case that the user has already grabbed this recently enough that it hasn't been kicked out.

Plus the trend now is to use webpack and have all of your deps bundled in and served from the same server.

Re:Please stop using CDNs for external JavaScript libraries by minitech on Sunday October 11, 2020 @07:30PM (#24750022)
Can’t always use that. It’s much less specific compared to the potential of cache, only works when websites provide that type of redirect, doesn’t work if you block third-party cookies (I think a form of that might already be the default in some browsers), etc.