News for hackers. Stuff that matters.
Re:HTTP/2 is here. Goodbye SPDY? Not quite yet by ropiku on Thursday December 03, 2015 @09:48AM (#10669802)
For HTTP/2 it's a lot better to have fewer domains since they download in parallel as you say. I think the only advantage of hosting jQuery from a shared place would be caching between servers. CloudFlare already acts as a CDN for your static files.
Re:HTTP/2 is here. Goodbye SPDY? Not quite yet by kaizendad on Thursday December 03, 2015 @01:07PM (#10671304)
Wouldn't caching be a big thing for libraries like jQuery? Its highly-likely that jQuery was used by one of the other most recent sites a user visited... why not still take advantage of the fact jQuery may be cached locally?
Re:HTTP/2 is here. Goodbye SPDY? Not quite yet by joshuacc on Thursday December 03, 2015 @01:26PM (#10671497)
But perhaps not as likely that one of those sites had exactly the same version of jQuery.
Re:HTTP/2 is here. Goodbye SPDY? Not quite yet by tokenizerrr on Thursday December 03, 2015 @01:10PM (#10671348)
Because most browser caches are insanely small and really eager to evict stuff, especially on mobile phones.