4 ms·
If speed is a concern, then using a CDN like jsdelivr is a negative. Why an extra lookup for a single 9KB file? There isn't the benefit that jquery has of it ha
by markdown 11y ago
If speed is a concern, then using a CDN like jsdelivr is a negative. Why an extra lookup for a single 9KB file? There isn't the benefit that jquery has of it having a higher chance of already being cached from that source. It makes no sense, so I'm not sure why your docs recommend it.
Self-host this file, people.
- mschuster91 11y ago> Self-host this file, people. At 3.8k gzipped, I'd just inline the minified version...
- markdown 11y agoA good idea, depending on the type of website.
- bikamonki 11y agoInline the css as well and you'll end up with a mobile site that Google loves when crawled. I'm testing such setup and I can pretty much cover everything I need for most cases.
- ascorbic 11y agoInlining is no longer good practice with HTTP/2. Multiple small files can be transferred in parallel and cached independently.