I'm having a problem with Bootstrap + jquery loading from CDN sometimes it doesn't load/get imported from CDN for example :
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
It doesn't get loaded in the site when opened. What I want to do is to add the same file in my server too so if it fails to upload this from google server it would load it from mine. for example:
<link rel="stylesheet" href="#mydomain#/css/bootstrap.min.css">
how can I do the above in a way that it won't load it twice if it successfully loads it from CDN (Is there's a way to do so or better way to achieve this?) thanks in advance