> That means, for example, use DoubleClick or AdSense or GoogleAnalytics if you like, but please do not use jquery from Google's CDNs.
Why is Google Analytics ok and not their CDN?
Why is Google Analytics ok and not their CDN?
Serving widely used libraries out of a CDN is a best practice for a reason. Most visitors will already have it in cache. What alternative are you supposing? Local hosting? That has drawbacks, including more cache misses and increased bandwidth costs for the website provider.
Presumably once Google traps you into an unblockable ad channel (on mobile or whatever) they will unleash the tracking they've been doing on you.
Besides providing jquery themselves, websites can use a CDN from another provider. OK, that might cost an extra 20 ms.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
if (typeof jQuery == 'undefined')
{
document.write(unescape("%3Cscript src='/serverHostedJquery.js' %3E%3C/script%3E"));
}
</script>99% of websites won't function if they lose a key library.