Using imports from CDNs do not work like they used to

I always thought that one of the main advantages when using an CDN link from a project is caching. When reading the getting started page of projects like jQuery and others, they often provide an hosted import link of the JavaScript file.

<script type="text/javascript" src="https://cdn.jquery.com/jquery.latest.js"></script>

Chrome and co. now include the origin domain in the cache key. This results in the file being downloaded by each site/origin that uses it.




Zur Übersicht

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund