4 ms·
There's no reason you couldn't code this up in JavaScript: load jquery from google - onload, set flag jquery_loaded settimeout load_locally_if_not_flag
by stellar678 16y ago
There's no reason you couldn't code this up in JavaScript:
load jquery from google
- onload, set flag jquery_loaded
settimeout load_locally_if_not_flag 5sec
- toolate 16y agoDon't forget that JavaScript is blocking. You'd need to load the jQuery from Google dynamically by inserting script tags. By the time you've added that, timeouts and fallbacks the amount of inline JS would make hosting jQuery on a CDN pointless.