A CDN delivering something like jQuery will not receive cookies nor query parameters and will return a very generous max-age, allowing the browser to reuse the resource for any number of pages or sites without contacting the CDN again.
The value of CDNs like this has diminished greatly with the advent of HTTP/2 and HTTP/3.