If I keep reloading a page that uses jquery from google hosted site. Does that mean it will always redownload the library? Or does the browser know not to, since it previously downloaded it.
Most modern browsers know not to download that. Check jQuery CDN in console and you see this.
304 Not modified.
That means the library is being loaded from cache.
What you are talking about is a CDN. Typically no, it won't redownload it, and if developers from other sites also use the same CDN, then it may already be in cache even before they get to your website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With